proto_mqtt

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2020 License: Apache-2.0 Imports: 6 Imported by: 6

README

proto_mqtt

Protocol for MQTT Gateway

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type MQTTRecord

type MQTTRecord struct {
	Topic  string               `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	Time   *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	Record []byte               `protobuf:"bytes,3,opt,name=record,proto3" json:"record,omitempty"`
	// contains filtered or unexported fields
}

func (*MQTTRecord) Descriptor deprecated

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

Deprecated: Use MQTTRecord.ProtoReflect.Descriptor instead.

func (*MQTTRecord) GetRecord

func (x *MQTTRecord) GetRecord() []byte

func (*MQTTRecord) GetTime

func (x *MQTTRecord) GetTime() *timestamp.Timestamp

func (*MQTTRecord) GetTopic

func (x *MQTTRecord) GetTopic() string

func (*MQTTRecord) ProtoMessage

func (*MQTTRecord) ProtoMessage()

func (*MQTTRecord) ProtoReflect

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

func (*MQTTRecord) Reset

func (x *MQTTRecord) Reset()

func (*MQTTRecord) String

func (x *MQTTRecord) String() string

Jump to

Keyboard shortcuts

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