Change signature of socks5 dialer

This commit is contained in:
9seconds
2021-03-05 18:26:13 +03:00
parent 5b46152945
commit ecfd550a95
3 changed files with 7 additions and 10 deletions
+1
View File
@@ -6,5 +6,6 @@ import (
)
type Dialer interface {
Dial(network, address string) (net.Conn, error)
DialContext(ctx context.Context, network, address string) (net.Conn, error)
}