MCPcopy Index your code
hub / github.com/coder/coder / NewInProcNet

Function NewInProcNet

testutil/net.go:45–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45func NewInProcNet() *InProcNet {
46 return &InProcNet{listeners: make(map[Addr]*inProcListener)}
47}
48
49func (n *InProcNet) Listen(network, address string) (net.Listener, error) {
50 a := Addr{network, address}

Callers 3

TestPortForwardFunction · 0.92
TestServer_X11Function · 0.92

Calls

no outgoing calls

Tested by 3

TestPortForwardFunction · 0.74
TestServer_X11Function · 0.74