channelWriter provider io.WriteCloser interface on top of `ch` chan []byte i.e. it sends all data written by Write(data) to `ch` channel and waits for response: bytes written & errors
| 12 | // channelWriter provider io.WriteCloser interface on top of `ch` chan []byte |
| 13 | // i.e. it sends all data written by Write(data) to `ch` channel and waits for response: bytes written & errors |
| 14 | type channelWriter struct { |
| 15 | ch chan<- []byte |
| 16 | resultCh <-chan writeResult |
| 17 | } |
| 18 | |
| 19 | var _ io.WriteCloser = &channelWriter{} |
| 20 |
nothing calls this directly
no outgoing calls
no test coverage detected