mqtt

package
v0.0.0-...-de0d91c Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckConnection

func CheckConnection()

If the connection to the MQTT broker is lost, try to reconnect

func NewTLSConfig

func NewTLSConfig() *tls.Config

func Publish

func Publish(topic string, retain bool, payload string) error

Types

type Message

type Message struct{}

func (*Message) Publish

func (message *Message) Publish(topic string, retain bool, payload string) error

Jump to

Keyboard shortcuts

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