Exemplo n.º 1
0
func init() {
	// Must happen after config is initialized
	registry.MustRegisterOutboundHandlerCreator(loader.GetType(new(ClientConfig)), new(ClientFactory))
	registry.MustRegisterInboundHandlerCreator(loader.GetType(new(ServerConfig)), new(ServerFactory))
}
Exemplo n.º 2
0
func init() {
	registry.MustRegisterInboundHandlerCreator(loader.GetType(new(ServerConfig)), new(ServerFactory))
}
Exemplo n.º 3
0
func init() {
	registry.MustRegisterInboundHandlerCreator("http", new(ServerFactory))
}
Exemplo n.º 4
0
func init() {
	registry.MustRegisterInboundHandlerCreator("dokodemo-door", new(Factory))
}
Exemplo n.º 5
0
func init() {
	registry.MustRegisterInboundHandlerCreator("vmess", new(Factory))
}
Exemplo n.º 6
0
func init() {
	registry.MustRegisterInboundHandlerCreator("shadowsocks", new(ServerFactory))
}