Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ NewAddr
Function
NewAddr
testutil/net.go:16–18 ·
view source on GitHub ↗
(network, addr string)
Source
from the content-addressed store, hash-verified
14
}
15
16
func
NewAddr(network, addr string) Addr {
17
return
Addr{network, addr}
18
}
19
20
func
(a Addr) Network() string {
21
return
a.network
Callers
3
TestPortForward
Function · 0.92
TestServer_X11
Function · 0.92
TestServer_X11_EvictionLRU
Function · 0.92
Calls
no outgoing calls
Tested by
3
TestPortForward
Function · 0.74
TestServer_X11
Function · 0.74
TestServer_X11_EvictionLRU
Function · 0.74