mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-29 23:34:44 +00:00
register protobuf config loader
This commit is contained in:
1 file changed
+4
@@ -34,3 +34,7 @@ func LoadProtobufConfig(input io.Reader) (*Config, error) {
|
||||
}
|
||||
return config, nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
RegisterConfigLoader(ConfigFormat_Protobuf, LoadProtobufConfig)
|
||||
}
|
||||
Reference in new issue
Block a user