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

Method withKeyRw

memcache/memcache.go:376–380  ·  view source on GitHub ↗
(key string, fn func(*conn) error)

Source from the content-addressed store, hash-verified

374}
375
376func (c *Client) withKeyRw(key string, fn func(*conn) error) error {
377 return c.withKeyAddr(key, func(addr net.Addr) error {
378 return c.withAddrRw(addr, fn)
379 })
380}
381
382func (c *Client) getFromAddr(addr net.Addr, keys []string, cb func(*Item)) error {
383 return c.withAddrRw(addr, func(conn *conn) error {

Callers 3

DeleteMethod · 0.95
DeleteAllMethod · 0.95
incrDecrMethod · 0.95

Calls 2

withKeyAddrMethod · 0.95
withAddrRwMethod · 0.95

Tested by

no test coverage detected