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

Struct Broker

pkg/streamclient/streambroker.go:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28type Broker struct {
29 lock sync.Mutex
30 rpcClient StreamRpcInterface
31 readers map[string]*Reader
32 writers map[string]StreamWriter
33 readerRoutes map[string]string
34 writerRoutes map[string]string
35 readerErrorSentTime map[string]time.Time
36 sendQueue *utilds.WorkQueue[workItem]
37 recvQueue *utilds.WorkQueue[workItem]
38}
39
40func NewBroker(rpcClient StreamRpcInterface) *Broker {
41 b := &Broker{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected