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

@ -19,6 +19,10 @@ type Relay struct {
filter string
}
func (r *Relay) IsProxyGroup() bool {
return true
}
// DialContext implements C.ProxyAdapter
func (r *Relay) DialContext(ctx context.Context, metadata *C.Metadata, opts ...dialer.Option) (C.Conn, error) {
var proxies []C.Proxy