MCPcopy
hub / github.com/bradfitz/gomemcache / netTimeout

Method netTimeout

memcache/memcache.go:244–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242}
243
244func (c *Client) netTimeout() time.Duration {
245 if c.Timeout != 0 {
246 return c.Timeout
247 }
248 return DefaultTimeout
249}
250
251func (c *Client) maxIdleConns() int {
252 if c.MaxIdleConns > 0 {

Callers 2

dialMethod · 0.95
extendDeadlineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected