예제 #1
0
func init() {
	jsonconfig.RegisterInboundConnectionConfig("socks", func() interface{} {
		return &SocksConfig{
			HostIP: IPAddress(net.IPv4(127, 0, 0, 1)),
		}
	})
}
예제 #2
0
파일: inbound.go 프로젝트: adoot/v2ray-core
func init() {
	json.RegisterInboundConnectionConfig("vmess", func() interface{} {
		return new(Inbound)
	})
}
예제 #3
0
파일: json.go 프로젝트: road0001/v2ray-core
func init() {
	json.RegisterInboundConnectionConfig("http", func() interface{} {
		return new(HttpProxyConfig)
	})
}
예제 #4
0
파일: json.go 프로젝트: road0001/v2ray-core
func init() {
	json.RegisterInboundConnectionConfig("dokodemo-door", func() interface{} {
		return new(DokodemoConfig)
	})
}
예제 #5
0
func init() {
	json.RegisterInboundConnectionConfig("socks", func() interface{} {
		return new(SocksConfig)
	})
}