fix grpc proto wrapper
This commit is contained in:
parent
4651f11492
commit
d09a33b43c
2
grpc.go
2
grpc.go
@ -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{}})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user