Add DialContext (#1)

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
This commit is contained in:
世界
2023-02-26 06:43:27 +00:00
committed by GitHub
co-authored by RPRX
parent 8f76c23ba6
commit 14f5d5380b
2 changed files with 7 additions and 5 deletions
+2
View File
@@ -515,6 +515,8 @@ const (
// modified. A Config may be reused; the tls package will also not
// modify it.
type Config struct {
DialContext func(ctx context.Context, network, address string) (net.Conn, error)
Show bool
Type string
Dest string