Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
45
func
NewInProcNet() *InProcNet {
46
return
&InProcNet{listeners: make(
map
[Addr]*inProcListener)}
47
}
48
49
func
(n *InProcNet) Listen(network, address string) (net.Listener, error) {
50
a := Addr{network, address}
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