1
0
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:
Darien Raymond 2016-10-14 23:42:14 +02:00
parent 35a0ed6fb4
commit 348893a02a
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -34,3 +34,7 @@ func LoadProtobufConfig(input io.Reader) (*Config, error) {
} }
return config, nil return config, nil
} }
func init() {
RegisterConfigLoader(ConfigFormat_Protobuf, LoadProtobufConfig)
}