Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerSettings ¶
type HandlerSettings struct { Topic string `md:"topic,required"` // The topic to listen on ReplyTopic string `md:"replyTopic"` // The topic to reply on Qos int `md:"qos"` // The Quality of Service Retain bool `md:"retain"` // Retain messages AssetName string `md:"assetName"` SensorName string `md:"sensorName"` SensorType string `md:"sensorType"` }
type Output ¶
type Settings ¶
type Settings struct { Broker string `md:"broker,required"` // The broker URL Id string `md:"id,required"` // The id of client Username string `md:"username"` // The user's name Password string `md:"password"` // The user's password Store string `md:"store"` // The store for message persistence CleanSession bool `md:"cleanSession"` // Clean session flag KeepAlive int `md:"keepAlive"` // Keep Alive time in seconds AutoReconnect bool `md:"autoReconnect"` // Enable Auto-Reconnect SSLConfig map[string]interface{} `md:"sslConfig"` // SSL Configuration }
type Topic ¶
type Topic []Token
Topic is a parsed topic
type Trigger ¶
type Trigger struct {
// contains filtered or unexported fields
}
Trigger is simple MQTT trigger
func (*Trigger) Initialize ¶
func (t *Trigger) Initialize(ctx trigger.InitContext) error
Initialize implements trigger.Initializable.Initialize
Click to show internal directories.
Click to hide internal directories.