package
2024.3.0+incompatible
Repository: https://github.com/hiveot/hub.git
Documentation: pkg.go.dev

# Functions

MakeTopic creates a mqtt message topic optionally with wildcards This uses the hiveot topic format: {msgType}/{deviceID}/{thingID}/{name}[/{clientID}] msgType is the message type: "event", "action", "config" or "rpc".
NewMqttTransport creates a new instance of the mqtt client.
SplitTopic separates a topic into its components topic is a hiveot mqtt topic.

# Constants

InboxTopicFormat is the INBOX subscription topic used by the client and RPC calls _INBOX/{clientID} (clientID is the unique session clientID, not per-se the loginID).
production UDS name.
test server UDS name.

# Structs

MqttHubTransport manages the hub server connection with hub event and action messaging using autopaho.