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) Init ¶
func (t *MqttTrigger) Init(runner action.Runner)
Init implements ext.Trigger.Init
func (*MqttTrigger) Metadata ¶
func (t *MqttTrigger) Metadata() *trigger.Metadata
Metadata implements trigger.Trigger.Metadata
func (*MqttTrigger) RunAction ¶
func (t *MqttTrigger) RunAction(handlerCfg *trigger.HandlerConfig, payload string)
RunAction starts a new Process Instance
type StartRequest ¶
type StartRequest struct { ProcessURI string `json:"flowUri"` Data map[string]interface{} `json:"data"` Interceptor *support.Interceptor `json:"interceptor"` Patch *support.Patch `json:"patch"` ReplyTo string `json:"replyTo"` }
StartRequest describes a request for starting a ProcessInstance
Click to show internal directories.
Click to hide internal directories.