File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -522,15 +522,15 @@ func (o CompressorCallOption) after(*callInfo, *csAttempt) {}
522522// responses compressed with non-listed algorithms will be rejected.
523523func AcceptCompressors (names ... string ) CallOption {
524524 cp := append ([]string (nil ), names ... )
525- return AcceptCompressorsCallOption {names : cp }
525+ return acceptCompressorsCallOption {names : cp }
526526}
527527
528- // AcceptCompressorsCallOption is a CallOption that limits response compression.
529- type AcceptCompressorsCallOption struct {
528+ // acceptCompressorsCallOption is a CallOption that limits response compression.
529+ type acceptCompressorsCallOption struct {
530530 names []string
531531}
532532
533- func (o AcceptCompressorsCallOption ) before (c * callInfo ) error {
533+ func (o acceptCompressorsCallOption ) before (c * callInfo ) error {
534534 allowed , err := newAcceptedCompressionConfig (o .names )
535535 if err != nil {
536536 return err
@@ -539,7 +539,7 @@ func (o AcceptCompressorsCallOption) before(c *callInfo) error {
539539 return nil
540540}
541541
542- func (AcceptCompressorsCallOption ) after (* callInfo , * csAttempt ) {}
542+ func (acceptCompressorsCallOption ) after (* callInfo , * csAttempt ) {}
543543
544544// CallContentSubtype returns a CallOption that will set the content-subtype
545545// for a call. For example, if content-subtype is "json", the Content-Type over
You can’t perform that action at this time.
0 commit comments