MCPcopy
hub / github.com/grpc/grpc-go / get

Method get

internal/transport/transport.go:125–127  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

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

Callers 6

readMessageHeaderMethod · 0.45
readMethod · 0.45
readClientMethod · 0.45
writeMethod · 0.45
writeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected