SimpleInChannel is an interface representing a writeable channel that does not necessarily implement the Buffer interface.
| 51 | // SimpleInChannel is an interface representing a writeable channel that does not necessarily |
| 52 | // implement the Buffer interface. |
| 53 | type SimpleInChannel interface { |
| 54 | In() chan<- interface{} // The writeable end of the channel. |
| 55 | Close() // Closes the channel. It is an error to write to In() after calling Close(). |
| 56 | } |
| 57 | |
| 58 | // InChannel is an interface representing a writeable channel with a buffer. |
| 59 | type InChannel interface { |
no outgoing calls
no test coverage detected
searching dependent graphs…