MCPcopy
hub / github.com/wavetermdev/waveterm / mockRpcInterface

Struct mockRpcInterface

pkg/streamclient/streambroker_test.go:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type mockRpcInterface struct {
13 dataChan chan wshrpc.CommandStreamData
14 ackChan chan wshrpc.CommandStreamAckData
15}
16
17func (m *mockRpcInterface) StreamDataCommand(data wshrpc.CommandStreamData, opts *wshrpc.RpcOpts) error {
18 m.dataChan <- data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected