mqtt

package
Version: v3.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2018 License: MIT Imports: 15 Imported by: 8

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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL