Exemplo n.º 1
0
func init() {
	registry.MustRegisterOutboundHandlerCreator(loader.GetType(new(Config)), new(FreedomFactory))
}
Exemplo n.º 2
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.º 3
0
func init() {
	// Must listed after config.pb.go
	registry.MustRegisterOutboundHandlerCreator(loader.GetType(new(Config)), new(Factory))
}
Exemplo n.º 4
0
func init() {
	registry.MustRegisterOutboundHandlerCreator("freedom", new(FreedomFactory))
}
Exemplo n.º 5
0
func init() {
	registry.MustRegisterOutboundHandlerCreator("blackhole", new(Factory))
}
Exemplo n.º 6
0
func init() {
	registry.MustRegisterOutboundHandlerCreator("vmess", new(Factory))
}