get returns the channel that receives a recvMsg in the buffer. Upon receipt of a recvMsg, the caller should call load to send another recvMsg onto the channel if there is any.
()
| 123 | // Upon receipt of a recvMsg, the caller should call load to send another |
| 124 | // recvMsg onto the channel if there is any. |
| 125 | func (b *recvBuffer) get() <-chan recvMsg { |
| 126 | return b.c |
| 127 | } |
| 128 | |
| 129 | // recvBufferReader implements io.Reader interface to read the data from |
| 130 | // recvBuffer. |
no outgoing calls
no test coverage detected