Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotAProtoMessage = errors.New("encoding: not a proto message")
Functions ¶
func CtxIsSnappy ¶
Types ¶
type ConnUnblocked ¶
func WrapConnEncoding ¶
func WrapConnEncoding(conn ConnUnblocked, useSnappy bool) ConnUnblocked
WrapConnEncoding wraps the drpc connection and replaces an encoding
type ProtoMessageGettable ¶
type ProtoMessageSettable ¶
type ProtoMessageSettable interface {
ProtoMessageGettable
SetProtoMessage(protobuf.Message) error
}
Click to show internal directories.
Click to hide internal directories.