net/http.Client.Timeout (field)
6 uses
net/http (current package)
client.go#L105: Timeout time.Duration
client.go#L198: if c.Timeout > 0 {
client.go#L199: return time.Now().Add(c.Timeout)
github.com/coder/websocket
dial.go#L78: if o.HTTPClient.Timeout > 0 {
dial.go#L79: ctx, cancel = context.WithTimeout(ctx, o.HTTPClient.Timeout)
dial.go#L82: newClient.Timeout = 0
![]() |
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. |