fix: proxy-groups filter logic

This commit is contained in:
adlyq
2022-04-22 17:27:55 +08:00
parent b0dd74e74e
commit 8a85c63b08
17 changed files with 63 additions and 3 deletions

View File

@ -28,6 +28,10 @@ type LoadBalance struct {
strategyFn strategyFn
}
func (lb *LoadBalance) IsProxyGroup() bool {
return true
}
var errStrategy = errors.New("unsupported strategy")
func parseStrategy(config map[string]any) string {