fix: group filter touch provider

This commit is contained in:
adlyq
2022-06-07 17:19:25 +08:00
committed by Skyxim
parent e995003c27
commit 0a4570b55c
5 changed files with 16 additions and 26 deletions

View File

@ -66,9 +66,7 @@ type Provider interface {
type ProxyProvider interface {
Provider
Proxies() []C.Proxy
// ProxiesWithTouch is used to inform the provider that the proxy is actually being used while getting the list of proxies.
// Commonly used in DialContext and DialPacketConn
ProxiesWithTouch() []C.Proxy
Touch()
HealthCheck()
Version() uint
}