Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MQTTFactory ¶
type MQTTFactory struct {
// contains filtered or unexported fields
}
MQTTFactory MQTT Trigger factory
type MqttTrigger ¶
type MqttTrigger struct {
// contains filtered or unexported fields
}
MqttTrigger is simple MQTT trigger
func (*MqttTrigger) Initialize ¶ added in v0.5.2
func (t *MqttTrigger) Initialize(ctx trigger.InitContext) error
Initialize implements trigger.Initializable.Initialize
func (*MqttTrigger) Metadata ¶
func (t *MqttTrigger) Metadata() *trigger.Metadata
Metadata implements trigger.Trigger.Metadata
func (*MqttTrigger) RunHandler ¶ added in v0.5.2
func (t *MqttTrigger) RunHandler(handler *trigger.Handler, payload string)
RunHandler runs the handler and associated action
func (*MqttTrigger) Start ¶
func (t *MqttTrigger) Start() error
Start implements trigger.Trigger.Start
Click to show internal directories.
Click to hide internal directories.