nsqexporter

package
v0.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL