mqtt

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: ISC Imports: 5 Imported by: 0

Documentation

Overview

Package mqtt is a generated Protocol Buffers package.

Index

Constants

This section is empty.

Variables

View Source
var File_mqtt_thingspect_payload_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Payload

type Payload struct {

	// Data point array.
	Points []*common.DataPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
	// Authentication token (UUID). If all data points pertain to the same UniqID, the token can be provided a single time here.
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

Payload represents an array of one or more data points and an authentication token.

func (*Payload) Descriptor deprecated

func (*Payload) Descriptor() ([]byte, []int)

Deprecated: Use Payload.ProtoReflect.Descriptor instead.

func (*Payload) GetPoints

func (x *Payload) GetPoints() []*common.DataPoint

func (*Payload) GetToken

func (x *Payload) GetToken() string

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) ProtoReflect

func (x *Payload) ProtoReflect() protoreflect.Message

func (*Payload) Reset

func (x *Payload) Reset()

func (*Payload) String

func (x *Payload) String() string

Jump to

Keyboard shortcuts

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