package
1.5.24
Repository: https://github.com/sunmi-os/gocore.git
Documentation: pkg.go.dev

# Functions

NewAdaptor creates a new mqtt adaptor with specified host and client id.
NewAdaptorWithAuth creates a new mqtt adaptor with specified host, client id, username, and password.
NewDriver returns a new Gobot MQTT Driver.

# Constants

Data event when data is available for Driver.
Error event when error occurs in Driver.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Adaptor is the Gobot Adaptor for MQTT.
Driver for mqtt.

# Type aliases

Message is a message received from the broker.