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

Struct ServerList

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

ServerList is a simple ServerSelector. Its zero value is usable.

Source from the content-addressed store, hash-verified

37
38// ServerList is a simple ServerSelector. Its zero value is usable.
39type ServerList struct {
40 mu sync.RWMutex
41 addrs []net.Addr
42}
43
44// staticAddr caches the Network() and String() values from any net.Addr.
45type staticAddr struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected