sig

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CtrlTopic    = "ctrl/subready"
	CtrlAckTopic = "ctrl/suback"
)

Variables

This section is empty.

Functions

func InitMQTTControl

func InitMQTTControl()

InitMQTTControl Should only called once

Types

type MqttControl

type MqttControl struct {
	// contains filtered or unexported fields
}
var Ctrl *MqttControl

func NewMQTTControl

func NewMQTTControl(server string, cid string) *MqttControl

func (*MqttControl) Add

func (c *MqttControl) Add(name string)

func (*MqttControl) Rem

func (c *MqttControl) Rem(name string)

Jump to

Keyboard shortcuts

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