Documentation ¶
Index ¶
Constants ¶
View Source
const (
PROTOBUF_ENCODER = "protobuf"
)
Variables ¶
View Source
var ( ErrInvalidProtoMsgEncode = errors.New("nats: Invalid protobuf proto.Message object passed to encode") ErrInvalidProtoMsgDecode = errors.New("nats: Invalid protobuf proto.Message object passed to decode") )
Functions ¶
This section is empty.
Types ¶
type ProtobufEncoder ¶
type ProtobufEncoder struct { }
A protobuf Encoder implementation for EncodedConn This encoder will use the builtin protobuf lib to Marshal and Unmarshal structs.
Click to show internal directories.
Click to hide internal directories.