| 7 | ) |
| 8 | |
| 9 | type Channel struct { |
| 10 | mu sync2.Mutex |
| 11 | clients map[string]io.ReadWriter |
| 12 | } |
| 13 | |
| 14 | func (channel *Channel) Connect(name string, client io.ReadWriter) { |
| 15 | channel.mu.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected