Documentation ¶
Overview ¶
Package proto implements a custom encoding for grpc.
The codec registered by this package has an important difference from the default codec. Unlike the default codec, it does not reset the input message when unmarshaling.
This primarily impacts stream service calls. If you want to reuse a message and need it to be reset before calling RecvMsg, invoke the appropriate Reset method or proto.Reset before invoking RecvMsg or use a zero initialized message.
Click to show internal directories.
Click to hide internal directories.