Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
99
func
(l *Loop) setAddress(addr string) {
100
l.Lock()
101
defer
l.Unlock()
102
l.addr = addr
103
}
104
105
func
(l *Loop) address() string {
106
l.RLock()
Callers
2
setup
Function · 0.80
TestLoop_SetAddressAndName
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestLoop_SetAddressAndName
Function · 0.64