Documentation ¶
Index ¶
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetContent() string
- func (x *Message) GetDescription() string
- func (x *Message) GetId() int32
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_messages_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { // Id of the message Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Actual message content Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // Information about user Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Some message that will be sent over nats queue
func (*Message) Descriptor
deprecated
func (*Message) GetContent ¶
func (*Message) GetDescription ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.