Versions in this module Expand all Collapse all v2 v2.1.1 Dec 9, 2025 Changes in this version + const PluginMqtt + func New(ctx context.Context, handlerCfg *handlerTY.Config) (handlerTY.Plugin, error) + type MqttConfig struct + Broker string + ClientID string + Insecure bool + Password string + Publish string + QoS int + ReconnectDelay string + Username string + type MqttHandler struct + Config *MqttConfig + HandlerCfg *handlerTY.Config + ID string + func (c *MqttHandler) Close() error + func (c *MqttHandler) Post(parameters map[string]interface{}) error + func (c *MqttHandler) Start() error + func (c *MqttHandler) State() *types.State + func (p *MqttHandler) Name() string