MCPcopy
hub / github.com/coredns/coredns / setAddress

Method setAddress

plugin/loop/loop.go:99–103  ·  view source on GitHub ↗
(addr string)

Source from the content-addressed store, hash-verified

97}
98
99func (l *Loop) setAddress(addr string) {
100 l.Lock()
101 defer l.Unlock()
102 l.addr = addr
103}
104
105func (l *Loop) address() string {
106 l.RLock()

Callers 2

setupFunction · 0.80

Calls

no outgoing calls

Tested by 1