Feature: add filter on proxy provider (#1511)

This commit is contained in:
beyondkmp
2021-11-20 23:38:49 +08:00
committed by GitHub
parent 4524cf4418
commit 1401a82bb0
3 changed files with 40 additions and 31 deletions

View File

@ -93,7 +93,6 @@ type ProxyAdapter interface {
// DialContext return a C.Conn with protocol which
// contains multiplexing-related reuse logic (if any)
DialContext(ctx context.Context, metadata *Metadata, opts ...dialer.Option) (Conn, error)
ListenPacketContext(ctx context.Context, metadata *Metadata, opts ...dialer.Option) (PacketConn, error)
// Unwrap extracts the proxy from a proxy-group. It returns nil when nothing to extract.