go.mod and Makefile tweaks; move import of xds package to cmd/grpcurl (#170)

This commit is contained in:
Joshua Humphries
2020-07-14 12:20:32 -04:00
committed by GitHub
parent b8c67b7a4e
commit 0162fa9726
5 changed files with 19 additions and 10 deletions

View File

@@ -26,8 +26,10 @@ import (
reflectpb "google.golang.org/grpc/reflection/grpc_reflection_v1alpha"
"google.golang.org/grpc/status"
// Register gzip compressor so compressed responses will work:
// Register gzip compressor so compressed responses will work
_ "google.golang.org/grpc/encoding/gzip"
// Register xds so xds and xds-experimental resolver schemes work
_ "google.golang.org/grpc/xds"
)
// To avoid confusion between program error codes and the gRPC resonse