mqtt

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultDisconnectQuiesce time.Duration = 250 * time.Millisecond

Variables

View Source
var NewClient = mqtt.NewClient

Functions

func NewClientOptions added in v0.2.0

func NewClientOptions(device agent.Device) (*mqtt.ClientOptions, error)

func UpdateReportedProperties added in v1.2.0

func UpdateReportedProperties(client mqtt.Client, props ReportedProperties) error

UpdateReportedProperties publishes reported properties to the Azure IoT Hub device twin.

Types

type Client added in v0.2.0

type Client = mqtt.Client

type Message added in v0.2.0

type Message = mqtt.Message

type ReportedProperties added in v1.2.0

type ReportedProperties struct {
	AgentVersion string `json:"agent_version"`
}

Jump to

Keyboard shortcuts

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