1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-04-29 01:00:00 -04: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 (
"v2ray.com/core/common/log"
v2net "v2ray.com/core/common/net"
"v2ray.com/core/proxy"
proxyregistry "v2ray.com/core/proxy/registry"
)
// Point shell of V2Ray.
@@ -109,7 +108,7 @@ func NewPoint(pConfig *Config) (*Point, error) {
if err != nil {
return nil, err
}
outboundHandler, err := proxyregistry.CreateOutboundHandler(
outboundHandler, err := proxy.CreateOutboundHandler(
outbound.Settings.Type, vpoint.space, outboundSettings, &proxy.OutboundHandlerMeta{
Tag: outbound.Tag,
Address: outbound.GetSendThroughValue(),