Exemple #1
0
func init() {
	jsonconfig.RegisterInboundConnectionConfig("socks", func() interface{} {
		return &SocksConfig{
			HostIP: IPAddress(net.IPv4(127, 0, 0, 1)),
		}
	})
}
Exemple #2
0
func init() {
	json.RegisterInboundConnectionConfig("vmess", func() interface{} {
		return new(Inbound)
	})
}
Exemple #3
0
func init() {
	json.RegisterInboundConnectionConfig("http", func() interface{} {
		return new(HttpProxyConfig)
	})
}
Exemple #4
0
func init() {
	json.RegisterInboundConnectionConfig("dokodemo-door", func() interface{} {
		return new(DokodemoConfig)
	})
}
Exemple #5
0
func init() {
	json.RegisterInboundConnectionConfig("socks", func() interface{} {
		return new(SocksConfig)
	})
}