Documentation ¶
Overview ¶
Package shared contains docs fields that need to be shared across old and new component implementations, it needs to be separate from the parent package in order to avoid circular dependencies (for now).
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.