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

@ -24,6 +24,10 @@ type Fallback struct {
failedTime *atomic.Int64
}
func (f *Fallback) IsProxyGroup() bool {
return true
}
func (f *Fallback) Now() string {
proxy := f.findAliveProxy(false)
return proxy.Name()