mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-11-17 22:13:08 -08:00
rename RegisterInboundConnectionConfig to RegisterInboundConfig
This commit is contained in:
1 parent
9fe8178e4a
commit
01ed2fa889
9 files changed
+11
-11
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user