Documentation ¶
Index ¶
Constants ¶
View Source
const (
PROTOBUF_ENCODER = "protobuf"
)
Additional index for registered Encoders.
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 { }
ProtobufEncoder is a protobuf 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.