mqtt

package
v0.0.0-...-a73e329 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Server is the address of the broker to use for MQTT
	Server = "localhost:1883"
	Debug  = false

	Existing                 = false
	IsSetup                  = false
	AdminUser                = "zack"
	AdminPassword            = "1234"
	MosquittoConfigDirectory = "mosquitto_config"
)

Functions

func AddFamily

func AddFamily(family string) (password string, err error)

func Publish

func Publish(family, device, message string) (err error)

func Setup

func Setup() (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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