Documentation ¶
Overview ¶
Package mqtt contains supporting utils shared between MQTT reader and writer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WillFieldSpec ¶
WillFieldSpec defines a last will message registration.
Types ¶
type Will ¶
type Will struct { Enabled bool `json:"enabled" yaml:"enabled"` QoS uint8 `json:"qos" yaml:"qos"` Retained bool `json:"retained" yaml:"retained"` Topic string `json:"topic" yaml:"topic"` Payload string `json:"payload" yaml:"payload"` }
Will holds configuration for the last will message that the broker emits, should benthos exit abnormally.
Click to show internal directories.
Click to hide internal directories.