Documentation ¶
Overview ¶
Package mqtt implements the MQTT provider using the mqtt driver.
Index ¶
- func OpenConnection(ctx context.Context, settings *ttnpb.ApplicationPubSub_MQTT, ...) (*provider.Connection, error)
- func OpenSubscription(client mqtt.Client, topicName string, timeout time.Duration, qos byte) (*pubsub.Subscription, error)
- func OpenTopic(client mqtt.Client, topicName string, timeout time.Duration, qos byte) (*pubsub.Topic, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenConnection ¶ added in v3.9.0
func OpenConnection(ctx context.Context, settings *ttnpb.ApplicationPubSub_MQTT, topics provider.Topics) (*provider.Connection, error)
OpenConnection opens a MQTT connection using the given settings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.