1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-25 19:45:38 -05:00

refactor proxy registry

This commit is contained in:
Darien Raymond
2016-12-15 15:46:20 +01:00
parent 4c7faadfb9
commit 1ab02e0a6b
14 changed files with 38 additions and 49 deletions

View File

@@ -11,7 +11,6 @@ import (
v2net "v2ray.com/core/common/net"
"v2ray.com/core/common/serial"
"v2ray.com/core/proxy"
"v2ray.com/core/proxy/registry"
"v2ray.com/core/transport/internet"
"v2ray.com/core/transport/internet/udp"
)
@@ -212,5 +211,5 @@ func (v *Factory) Create(space app.Space, rawConfig interface{}, meta *proxy.Inb
}
func init() {
registry.MustRegisterInboundHandlerCreator(serial.GetMessageType(new(Config)), new(Factory))
proxy.MustRegisterInboundHandlerCreator(serial.GetMessageType(new(Config)), new(Factory))
}