Register gzip decoder

This commit is contained in:
shabbyrobe 2019-11-26 15:37:21 +11:00
parent ccc9007156
commit a1723ed536
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ import (
"google.golang.org/grpc/keepalive"
"google.golang.org/grpc/metadata"
reflectpb "google.golang.org/grpc/reflection/grpc_reflection_v1alpha"
// Register gzip compressor so compressed responses will work:
_ "google.golang.org/grpc/encoding/gzip"
)
var version = "dev build <no version set>"