MCPcopy Create free account
hub / github.com/imroc/req / SetTimeout

Function SetTimeout

client_wrapper.go:248–250  ·  view source on GitHub ↗

SetTimeout is a global wrapper methods which delegated to the default client's Client.SetTimeout.

(d time.Duration)

Source from the content-addressed store, hash-verified

246// SetTimeout is a global wrapper methods which delegated
247// to the default client's Client.SetTimeout.
248func SetTimeout(d time.Duration) *Client {
249 return defaultClient.SetTimeout(d)
250}
251
252// EnableDumpAll is a global wrapper methods which delegated
253// to the default client's Client.EnableDumpAll.

Callers

nothing calls this directly

Calls 1

SetTimeoutMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…