mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-11-07 16:07:19 -05:00
register protobuf config loader
This commit is contained in:
@@ -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