package
0.0.0-20210408101321-73fe6113136c
Repository: https://github.com/canonical/iot-devicetwin.git
Documentation: pkg.go.dev
# Functions
GetConnection fetches or creates an MQTT connection.
# Constants
Constants for connecting to the MQTT broker.
Constants for connecting to the MQTT broker.
# Structs
Connection for MQTT protocol.
MockClient mocks the MQTT client.
MockConnect is a mock MQTT connection.
MockMessage implements an MQTT message.
MockToken implements a Token.
# Interfaces
Connect is the interface for an MQTT connection.