mq

package
v0.0.0-...-b664f8b Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// See `MQTTRule`.
	//
	// optional mq.MQTTRule mqtt = 7229572;
	E_Mqtt = &file_mq_mqtt_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_mq_mqtt_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MQTTRule

type MQTTRule struct {

	// topic
	Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	// qos
	Qos int32 `protobuf:"varint,2,opt,name=qos,proto3" json:"qos,omitempty"`
	// retain
	Retain bool `protobuf:"varint,3,opt,name=retain,proto3" json:"retain,omitempty"`
	// reply topic
	ReplyTopic string `protobuf:"bytes,4,opt,name=reply_topic,json=replyTopic,proto3" json:"reply_topic,omitempty"`
	// reply qos
	ReplyQos int32 `protobuf:"varint,5,opt,name=reply_qos,json=replyQos,proto3" json:"reply_qos,omitempty"`
	// reply retain
	ReplyRetain bool `protobuf:"varint,6,opt,name=reply_retain,json=replyRetain,proto3" json:"reply_retain,omitempty"`
	// contains filtered or unexported fields
}

func (*MQTTRule) Descriptor deprecated

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

Deprecated: Use MQTTRule.ProtoReflect.Descriptor instead.

func (*MQTTRule) GetQos

func (x *MQTTRule) GetQos() int32

func (*MQTTRule) GetReplyQos

func (x *MQTTRule) GetReplyQos() int32

func (*MQTTRule) GetReplyRetain

func (x *MQTTRule) GetReplyRetain() bool

func (*MQTTRule) GetReplyTopic

func (x *MQTTRule) GetReplyTopic() string

func (*MQTTRule) GetRetain

func (x *MQTTRule) GetRetain() bool

func (*MQTTRule) GetTopic

func (x *MQTTRule) GetTopic() string

func (*MQTTRule) ProtoMessage

func (*MQTTRule) ProtoMessage()

func (*MQTTRule) ProtoReflect

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

func (*MQTTRule) Reset

func (x *MQTTRule) Reset()

func (*MQTTRule) String

func (x *MQTTRule) String() string

Jump to

Keyboard shortcuts

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