Move proxy/common/config to proxy/internal/config

This commit is contained in:
v2ray committed 2016-01-02 17:40:51 +01:00
1 parent dc86eb76da
commit 1c4c9bffad
29 files changed
+225 -221

No files matched your search

-4
View File
@@ -9,7 +9,6 @@ import (
routerjson "github.com/v2ray/v2ray-core/app/router/json"
"github.com/v2ray/v2ray-core/common/log"
v2net "github.com/v2ray/v2ray-core/common/net"
proxyconfig "github.com/v2ray/v2ray-core/proxy/common/config"
"github.com/v2ray/v2ray-core/shell/point"
)
@@ -87,8 +86,5 @@ func LoadConfig(file string) (*Config, error) {
return nil, err
}
jsonConfig.InboundConfigValue.Type = proxyconfig.TypeInbound
jsonConfig.OutboundConfigValue.Type = proxyconfig.TypeOutbound
return jsonConfig, err
}