| 10 | ) |
| 11 | |
| 12 | type memoryPacketIO struct { |
| 13 | in <-chan []byte |
| 14 | out chan<- []byte |
| 15 | closed chan struct{} |
| 16 | once sync.Once |
| 17 | } |
| 18 | |
| 19 | func newMemoryPacketPair() (*memoryPacketIO, *memoryPacketIO) { |
| 20 | aToB := make(chan []byte, 16) |
nothing calls this directly
no outgoing calls
no test coverage detected