MCPcopy 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
16func NewAddr(network, addr string) Addr {
17 return Addr{network, addr}
18}
19
20func (a Addr) Network() string {
21 return a.network

Callers 3

TestPortForwardFunction · 0.92
TestServer_X11Function · 0.92

Calls

no outgoing calls

Tested by 3

TestPortForwardFunction · 0.74
TestServer_X11Function · 0.74