Documentation ¶
Index ¶
- Variables
- type MQTTMessage
- func (*MQTTMessage) Descriptor() ([]byte, []int)deprecated
- func (x *MQTTMessage) GetPacketID() uint32
- func (x *MQTTMessage) GetPayload() []byte
- func (x *MQTTMessage) GetSourceAddress() string
- func (x *MQTTMessage) GetTimestamp() *timestamppb.Timestamp
- func (x *MQTTMessage) GetTopic() string
- func (*MQTTMessage) ProtoMessage()
- func (x *MQTTMessage) ProtoReflect() protoreflect.Message
- func (x *MQTTMessage) Reset()
- func (x *MQTTMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MQTTMessage ¶
type MQTTMessage struct { // message data Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"` Topic string `protobuf:"bytes,2,opt,name=Topic,proto3" json:"Topic,omitempty"` Payload []byte `protobuf:"bytes,3,opt,name=Payload,proto3" json:"Payload,omitempty"` // meta data SourceAddress string `protobuf:"bytes,5,opt,name=SourceAddress,proto3" json:"SourceAddress,omitempty"` PacketID uint32 `protobuf:"varint,6,opt,name=PacketID,proto3" json:"PacketID,omitempty"` // contains filtered or unexported fields }
func (*MQTTMessage) Descriptor
deprecated
func (*MQTTMessage) Descriptor() ([]byte, []int)
Deprecated: Use MQTTMessage.ProtoReflect.Descriptor instead.
func (*MQTTMessage) GetPacketID ¶
func (x *MQTTMessage) GetPacketID() uint32
func (*MQTTMessage) GetPayload ¶
func (x *MQTTMessage) GetPayload() []byte
func (*MQTTMessage) GetSourceAddress ¶
func (x *MQTTMessage) GetSourceAddress() string
func (*MQTTMessage) GetTimestamp ¶
func (x *MQTTMessage) GetTimestamp() *timestamppb.Timestamp
func (*MQTTMessage) GetTopic ¶
func (x *MQTTMessage) GetTopic() string
func (*MQTTMessage) ProtoMessage ¶
func (*MQTTMessage) ProtoMessage()
func (*MQTTMessage) ProtoReflect ¶ added in v0.0.17
func (x *MQTTMessage) ProtoReflect() protoreflect.Message
func (*MQTTMessage) Reset ¶
func (x *MQTTMessage) Reset()
func (*MQTTMessage) String ¶
func (x *MQTTMessage) String() string
Click to show internal directories.
Click to hide internal directories.