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