Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProtobufCodec ¶
func NewProtobufCodec() *protobufCodec
Returns a new instance of protobufCodec. protobufCodec is a MongoDB codec. It encodes protobuf objects using the protobuf field numbers as document keys. This means that stored protobufs can survive normal protobuf definition changes, e.g. renaming a field.
func TagToElementName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.