Documentation ¶
Overview ¶
Package message is a generated protocol buffer package.
It is generated from these files:
message.proto
It has these top-level messages:
Message
Index ¶
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetBizID() []byte
- func (m *Message) GetCreateTime() int64
- func (m *Message) GetExpireAt() int64
- func (m *Message) GetIndex() []byte
- func (m *Message) GetMessageID() int64
- func (m *Message) GetPayload() []byte
- func (m *Message) GetQos() int32
- func (m *Message) GetTopic() string
- func (m *Message) GetTraceID() string
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Topic string `protobuf:"bytes,1,opt,name=Topic" json:"Topic,omitempty"` Index []byte `protobuf:"bytes,2,opt,name=Index,proto3" json:"Index,omitempty"` Payload []byte `protobuf:"bytes,3,opt,name=Payload,proto3" json:"Payload,omitempty"` Qos int32 `protobuf:"varint,4,opt,name=Qos" json:"Qos,omitempty"` TraceID string `protobuf:"bytes,5,opt,name=TraceID" json:"TraceID,omitempty"` BizID []byte `protobuf:"bytes,6,opt,name=BizID,proto3" json:"BizID,omitempty"` CreateTime int64 `protobuf:"varint,7,opt,name=CreateTime" json:"CreateTime,omitempty"` ExpireAt int64 `protobuf:"varint,8,opt,name=ExpireAt" json:"ExpireAt,omitempty"` MessageID int64 `protobuf:"varint,9,opt,name=MessageID" json:"MessageID,omitempty"` }
func (*Message) Descriptor ¶
func (*Message) GetCreateTime ¶
func (*Message) GetExpireAt ¶
func (*Message) GetMessageID ¶
func (*Message) GetPayload ¶
func (*Message) GetTraceID ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.