rename RegisterInboundConnectionConfig to RegisterInboundConfig

This commit is contained in:
v2ray committed 2016-01-25 17:19:09 +01:00
1 parent 9fe8178e4a
commit 01ed2fa889
9 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ func (this *Config) UnmarshalJSON(data []byte) error {
}
func init() {
config.RegisterInboundConnectionConfig("vmess",
config.RegisterInboundConfig("vmess",
func(data []byte) (interface{}, error) {
config := new(Config)
err := json.Unmarshal(data, config)