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

Method Ping

memcache/memcache.go:783–785  ·  view source on GitHub ↗

Ping checks all instances if they are alive. Returns error if any of them is down.

()

Source from the content-addressed store, hash-verified

781// Ping checks all instances if they are alive. Returns error if any
782// of them is down.
783func (c *Client) Ping() error {
784 return c.selector.Each(c.ping)
785}
786
787// Increment atomically increments key by delta. The return value is
788// the new value after being incremented or an error. If the value

Callers 1

testWithClientFunction · 0.80

Calls 1

EachMethod · 0.65

Tested by 1

testWithClientFunction · 0.64