MCPcopy Create free account
hub / github.com/coder/coder / MemTransportPipe

Function MemTransportPipe

codersdk/drpcsdk/transport.go:85–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85func MemTransportPipe() (drpc.Conn, net.Listener) {
86 m := &memDRPC{
87 closed: make(chan struct{}),
88 l: fasthttputil.NewInmemoryListener(),
89 }
90
91 return m, m.l
92}
93
94type memDRPC struct {
95 closeOnce sync.Once

Callers 13

createProvisionerClientFunction · 0.92
TestProvisionerSDKFunction · 0.92
newProvisionerDaemonFunction · 0.92
TestEchoFunction · 0.92
setupProvisionerFunction · 0.92

Calls

no outgoing calls

Tested by 6

createProvisionerClientFunction · 0.74
TestProvisionerSDKFunction · 0.74
TestEchoFunction · 0.74
setupProvisionerFunction · 0.74