mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
355 B
13 lines
355 B
8 years ago
|
package socks
|
||
|
|
||
|
import (
|
||
|
"v2ray.com/core/common"
|
||
|
"v2ray.com/core/common/serial"
|
||
|
"v2ray.com/core/proxy"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
common.Must(proxy.RegisterOutboundHandlerCreator(serial.GetMessageType((*ClientConfig)(nil)), new(ClientFactory)))
|
||
|
common.Must(proxy.RegisterInboundHandlerCreator(serial.GetMessageType((*ServerConfig)(nil)), new(ServerFactory)))
|
||
|
}
|