vendor updates

This commit is contained in:
Serguei Bezverkhi
2018-03-06 17:33:18 -05:00
parent 4b3ebc171b
commit e9033989a0
5854 changed files with 248382 additions and 119809 deletions

View File

@ -30,6 +30,9 @@ import (
"google.golang.org/grpc/encoding"
)
// Name is the name registered for the gzip compressor.
const Name = "gzip"
func init() {
c := &compressor{}
c.poolCompressor.New = func() interface{} {
@ -84,7 +87,7 @@ func (z *reader) Read(p []byte) (n int, err error) {
}
func (c *compressor) Name() string {
return "gzip"
return Name
}
type compressor struct {