mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-04-14 01:29:17 -04:00
added custom balancer settings processing logic
This commit is contained in:
@@ -14,3 +14,8 @@ func loadHeterogeneousConfigFromRawJson(interfaceType, name string, rawJson json
|
||||
ctx := envctx.ContextWithEnvironment(context.TODO(), fsdef)
|
||||
return registry.LoadImplementationByAlias(ctx, interfaceType, name, []byte(rawJson))
|
||||
}
|
||||
|
||||
// LoadHeterogeneousConfigFromRawJson private API
|
||||
func LoadHeterogeneousConfigFromRawJson(ctx context.Context, interfaceType, name string, rawJson json.RawMessage) (proto.Message, error) {
|
||||
return loadHeterogeneousConfigFromRawJson(interfaceType, name, rawJson)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user