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

Method PickServer

memcache/selector.go:34–34  ·  view source on GitHub ↗

PickServer returns the server address that a given item should be shared onto.

(key string)

Source from the content-addressed store, hash-verified

32 // PickServer returns the server address that a given item
33 // should be shared onto.
34 PickServer(key string) (net.Addr, error)
35 Each(func(net.Addr) error) error
36}
37

Callers 3

onItemMethod · 0.65
withKeyAddrMethod · 0.65
GetMultiMethod · 0.65

Implementers 1

ServerListmemcache/selector.go

Calls

no outgoing calls

Tested by

no test coverage detected