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

Function newStreamBridge

internal/pluginhost/stream_bridge.go:30–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30func newStreamBridge() *streamBridge {
31 return &streamBridge{streams: make(map[string]chan pluginapi.ExecutorStreamChunk)}
32}
33
34func (b *streamBridge) open(ctx context.Context) (string, <-chan pluginapi.ExecutorStreamChunk, func()) {
35 if b == nil {

Callers 1

NewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected