From d09a33b43ce9b0782dba416552a73c82464670d6 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Thu, 27 Jun 2019 13:08:06 +0100 Subject: [PATCH] fix grpc proto wrapper --- grpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grpc.go b/grpc.go index 2f6e1d4..4ff4b79 100644 --- a/grpc.go +++ b/grpc.go @@ -56,8 +56,8 @@ type grpcServer struct { } func init() { - encoding.RegisterCodec(wrapCodec{protoCodec{}}) encoding.RegisterCodec(wrapCodec{jsonCodec{}}) + encoding.RegisterCodec(wrapCodec{protoCodec{}}) encoding.RegisterCodec(wrapCodec{bytesCodec{}}) }