MCPcopy Create free account
hub / github.com/bradfitz/gomemcache / staticAddr

Struct staticAddr

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

staticAddr caches the Network() and String() values from any net.Addr.

Source from the content-addressed store, hash-verified

43
44// staticAddr caches the Network() and String() values from any net.Addr.
45type staticAddr struct {
46 ntw, str string
47}
48
49func newStaticAddr(a net.Addr) net.Addr {
50 return &staticAddr{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected