fix grpc proto wrapper

This commit is contained in:
Asim Aslam 2019-06-27 13:08:06 +01:00 committed by Vasiliy Tolstov
parent 4651f11492
commit d09a33b43c

View File

@ -56,8 +56,8 @@ type grpcServer struct {
} }
func init() { func init() {
encoding.RegisterCodec(wrapCodec{protoCodec{}})
encoding.RegisterCodec(wrapCodec{jsonCodec{}}) encoding.RegisterCodec(wrapCodec{jsonCodec{}})
encoding.RegisterCodec(wrapCodec{protoCodec{}})
encoding.RegisterCodec(wrapCodec{bytesCodec{}}) encoding.RegisterCodec(wrapCodec{bytesCodec{}})
} }