net.Dialer.Timeout (field)
9 uses
net (current package)
dial.go#L139: Timeout time.Duration
dial.go#L252: if d.Timeout != 0 { // including negative, for historical reasons
dial.go#L253: earliest = now.Add(d.Timeout)
dial.go#L486: d := Dialer{Timeout: timeout}
net/http
transport.go#L49: Timeout: 30 * time.Second,
crypto/tls
tls.go#L134: if netDialer.Timeout != 0 {
tls.go#L136: ctx, cancel = context.WithTimeout(ctx, netDialer.Timeout)
github.com/refraction-networking/utls
tls.go#L122: if netDialer.Timeout != 0 {
tls.go#L124: ctx, cancel = context.WithTimeout(ctx, netDialer.Timeout)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |