MCPcopy Create free account
hub / github.com/egonelbre/exp / Channel

Struct Channel

sync2/example/after.go:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7)
8
9type Channel struct {
10 mu sync2.Mutex
11 clients map[string]io.ReadWriter
12}
13
14func (channel *Channel) Connect(name string, client io.ReadWriter) {
15 channel.mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected