mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-26 03:57:42 -05:00
register protobuf config loader
This commit is contained in:
parent
35a0ed6fb4
commit
348893a02a
@ -34,3 +34,7 @@ func LoadProtobufConfig(input io.Reader) (*Config, error) {
|
|||||||
}
|
}
|
||||||
return config, nil
|
return config, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
RegisterConfigLoader(ConfigFormat_Protobuf, LoadProtobufConfig)
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user