Documentation ¶
Index ¶
- Variables
- func FooToBSON(msg *Foo) bson.M
- func MapMessageToBSON(msg *MapMessage) bson.M
- func MapMessage_Strings2_MapToBSON(values map[string]int32) bson.M
- func MapMessage_Strings_MapToBSON(values map[string]string) bson.M
- type Foo
- type MapMessage
- func (*MapMessage) Descriptor() ([]byte, []int)deprecated
- func (x *MapMessage) GetStrings() map[string]string
- func (x *MapMessage) GetStrings2() map[string]int32
- func (*MapMessage) ProtoMessage()
- func (x *MapMessage) ProtoReflect() protoreflect.Message
- func (x *MapMessage) Reset()
- func (x *MapMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_map_proto protoreflect.FileDescriptor
Functions ¶
func MapMessageToBSON ¶
func MapMessageToBSON(msg *MapMessage) bson.M
Types ¶
type Foo ¶
type Foo struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*Foo) Descriptor
deprecated
func (*Foo) ProtoMessage ¶
func (*Foo) ProtoMessage()
func (*Foo) ProtoReflect ¶
func (x *Foo) ProtoReflect() protoreflect.Message
type MapMessage ¶
type MapMessage struct { Strings map[string]string `` /* 155-byte string literal not displayed */ Strings2 map[string]int32 `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MapMessage) Descriptor
deprecated
func (*MapMessage) Descriptor() ([]byte, []int)
Deprecated: Use MapMessage.ProtoReflect.Descriptor instead.
func (*MapMessage) GetStrings ¶
func (x *MapMessage) GetStrings() map[string]string
func (*MapMessage) GetStrings2 ¶
func (x *MapMessage) GetStrings2() map[string]int32
func (*MapMessage) ProtoMessage ¶
func (*MapMessage) ProtoMessage()
func (*MapMessage) ProtoReflect ¶
func (x *MapMessage) ProtoReflect() protoreflect.Message
func (*MapMessage) Reset ¶
func (x *MapMessage) Reset()
func (*MapMessage) String ¶
func (x *MapMessage) String() string
Click to show internal directories.
Click to hide internal directories.