mirror of https://github.com/v2ray/v2ray-core
register protobuf config loader
parent
35a0ed6fb4
commit
348893a02a
|
@ -34,3 +34,7 @@ func LoadProtobufConfig(input io.Reader) (*Config, error) {
|
|||
}
|
||||
return config, nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
RegisterConfigLoader(ConfigFormat_Protobuf, LoadProtobufConfig)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue