Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
Connection Holds the connection to the Ninja MQTT bus, and provides all the methods needed to communicate with the other modules in Sphere.
func Connect ¶
func Connect(clientID string) (*Connection, error)
Connect Builds a new ninja connection to the MQTT broker, using the given client ID
Click to show internal directories.
Click to hide internal directories.