protomongo

package
v1.0.0-alpha.5....-3b5195a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2022 License: MIT Imports: 9 Imported by: 0

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

func TagToElementName(tag int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL