mqtt

package
v0.0.0-...-2e32a30 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MQTTClient

type MQTTClient struct {
	// contains filtered or unexported fields
}

func StartNewMQTTClient

func StartNewMQTTClient(opts *MQTTOptions) (*MQTTClient, error)

func (*MQTTClient) PublishMessage

func (mqttClient *MQTTClient) PublishMessage(topic string, message string)

type MQTTOptions

type MQTTOptions struct {
	// contains filtered or unexported fields
}

func ParseConfig

func ParseConfig(config config.MQTTConfig) (*MQTTOptions, error)

Jump to

Keyboard shortcuts

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