Example #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))
}
Example #2
0
func init() {
	registry.MustRegisterInboundHandlerCreator(loader.GetType(new(ServerConfig)), new(ServerFactory))
}
Example #3
0
func init() {
	registry.MustRegisterInboundHandlerCreator("http", new(ServerFactory))
}
Example #4
0
func init() {
	registry.MustRegisterInboundHandlerCreator("dokodemo-door", new(Factory))
}
Example #5
0
func init() {
	registry.MustRegisterInboundHandlerCreator("vmess", new(Factory))
}
Example #6
0
func init() {
	registry.MustRegisterInboundHandlerCreator("shadowsocks", new(ServerFactory))
}