diff options
Diffstat (limited to 'tcpdialer.go')
-rw-r--r-- | tcpdialer.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tcpdialer.go b/tcpdialer.go index 46611e7..77bb569 100644 --- a/tcpdialer.go +++ b/tcpdialer.go @@ -48,7 +48,7 @@ func Dial(addr string) (net.Conn, error) { // are temporarily unreachable. // // This dialer is intended for custom code wrapping before passing -// to Client.Dial or HostClient.Dial. +// to Client.DialTimeout or HostClient.DialTimeout. // // For instance, per-host counters and/or limits may be implemented // by such wrappers. @@ -102,7 +102,7 @@ func DialDualStack(addr string) (net.Conn, error) { // are temporarily unreachable. // // This dialer is intended for custom code wrapping before passing -// to Client.Dial or HostClient.Dial. +// to Client.DialTimeout or HostClient.DialTimeout. // // For instance, per-host counters and/or limits may be implemented // by such wrappers. @@ -199,7 +199,7 @@ func (d *TCPDialer) Dial(addr string) (net.Conn, error) { // are temporarily unreachable. // // This dialer is intended for custom code wrapping before passing -// to Client.Dial or HostClient.Dial. +// to Client.DialTimeout or HostClient.DialTimeout. // // For instance, per-host counters and/or limits may be implemented // by such wrappers. @@ -253,7 +253,7 @@ func (d *TCPDialer) DialDualStack(addr string) (net.Conn, error) { // are temporarily unreachable. // // This dialer is intended for custom code wrapping before passing -// to Client.Dial or HostClient.Dial. +// to Client.DialTimeout or HostClient.DialTimeout. // // For instance, per-host counters and/or limits may be implemented // by such wrappers. |