package
Version:
v0.0.0-...-1ff4360
Opens a new window with list of versions in this module.
Published: Feb 10, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Device ...
CreateDevice creates a device, and initializes MQTT connection
StartMQTT Starts MQTT client, doesn't block, and returns MQTT Client
type State struct {
Online bool `json:"online"`
On bool `json:"on"`
}
State is type of current state of device
Source Files
¶
Click to show internal directories.
Click to hide internal directories.