MCPcopy Index your code
hub / github.com/bradfitz/gomemcache / newStaticAddr

Function newStaticAddr

memcache/selector.go:49–54  ·  view source on GitHub ↗
(a net.Addr)

Source from the content-addressed store, hash-verified

47}
48
49func newStaticAddr(a net.Addr) net.Addr {
50 return &staticAddr{
51 ntw: a.Network(),
52 str: a.String(),
53 }
54}
55
56func (s *staticAddr) Network() string { return s.ntw }
57func (s *staticAddr) String() string { return s.str }

Callers 1

SetServersMethod · 0.85

Calls 2

NetworkMethod · 0.80
StringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…