Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidPayload = errors.New("grpc invalid payload")
Functions ¶
func NewGRPCCodec ¶
func NewGRPCCodec(opts ...CodecOption) remote.Codec
NewGRPCCodec create grpc and protobuf codec
Types ¶
type CodecOption ¶
type CodecOption func(c *grpcCodec)
func WithThriftCodec ¶
func WithThriftCodec(t remote.PayloadCodec) CodecOption
Click to show internal directories.
Click to hide internal directories.