File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ import (
4444)
4545
4646func init () {
47- internal .AcceptCompressors = AcceptCompressors
47+ internal .AcceptCompressors = acceptCompressors
4848}
4949
5050// Compressor defines the interface gRPC uses to compress a message.
@@ -516,11 +516,11 @@ func (o CompressorCallOption) before(c *callInfo) error {
516516}
517517func (o CompressorCallOption ) after (* callInfo , * csAttempt ) {}
518518
519- // AcceptCompressors returns a CallOption that limits the compression algorithms
519+ // acceptCompressors returns a CallOption that limits the compression algorithms
520520// advertised in the grpc-accept-encoding header for response messages.
521521// Compression algorithms not in the provided list will not be advertised, and
522522// responses compressed with non-listed algorithms will be rejected.
523- func AcceptCompressors (names ... string ) CallOption {
523+ func acceptCompressors (names ... string ) CallOption {
524524 cp := append ([]string (nil ), names ... )
525525 return acceptCompressorsCallOption {names : cp }
526526}
You can’t perform that action at this time.
0 commit comments