Explorar el Código

register shadowsocks client factory

Darien Raymond hace 9 años
padre
commit
cdb0debcb0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      proxy/shadowsocks/init.go

+ 1 - 1
proxy/shadowsocks/init.go

@@ -7,6 +7,6 @@ import (
 
 func init() {
 	// Must happen after config is initialized
-
+	registry.MustRegisterOutboundHandlerCreator(loader.GetType(new(ClientConfig)), new(ClientFactory))
 	registry.MustRegisterInboundHandlerCreator(loader.GetType(new(ServerConfig)), new(ServerFactory))
 }