MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / newTestServer

Function newTestServer

internal/bridge/mockserver_test.go:65–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65func newTestServer() *testServer {
66 return &testServer{
67 checkinCh: make(chan checkinRecord, 16),
68 spiteReqCh: make(chan *clientpb.SpiteRequest, 16),
69 spiteRespCh: make(chan *clientpb.SpiteResponse, 64),
70 jobCtrlCh: make(chan *clientpb.JobCtrl, 16),
71 jobStatusCh: make(chan *clientpb.JobStatus, 16),
72 jobStreamDisconnectCh: make(chan struct{}),
73 }
74}
75
76// -- Unary RPCs --------------------------------------------------------------
77

Callers 1

startTestServerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected