Documentation ¶
Index ¶
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetData() []byte
- func (x *Message) GetError() string
- func (x *Message) GetKey() string
- func (x *Message) GetMd() map[string]string
- func (x *Message) GetValidSum() uint32
- 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_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Md map[string]string `` /* 145-byte string literal not displayed */ Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` ValidSum uint32 `protobuf:"varint,5,opt,name=valid_sum,json=validSum,proto3" json:"valid_sum,omitempty"` // 校验和 验证消息合法性 // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetValidSum ¶
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.