Documentation
¶
Index ¶
- Constants
- func HandleWorkflowEventCreated(messageBody []byte, wsHub *ws.Hub) error
- func HandleWorkflowExecution(messageBody []byte, wsHub *ws.Hub) error
- func HandleWorkflowQueueItemConsumed(messageBody []byte, wsHub *ws.Hub) error
- func HandleWorkflowQueueItemCreated(messageBody []byte, wsHub *ws.Hub) error
- type ExecutionStateWebsocketEvent
- type QueueItemWebsocketEvent
- type WorkflowEventWebsocketEvent
Constants ¶
View Source
const ( ExecutionCreatedEvent = "execution_created" ExecutionFinishedEvent = "execution_finished" ExecutionStartedEvent = "execution_started" )
View Source
const ( QueueItemCreatedEvent = "queue_item_created" QueueItemConsumedEvent = "queue_item_consumed" )
Variables ¶
This section is empty.
Functions ¶
func HandleWorkflowExecution ¶
Types ¶
type ExecutionStateWebsocketEvent ¶
type ExecutionStateWebsocketEvent struct {
Event string `json:"event"`
Payload json.RawMessage `json:"payload"`
}
type QueueItemWebsocketEvent ¶
type QueueItemWebsocketEvent struct {
Event string `json:"event"`
Payload json.RawMessage `json:"payload"`
}
type WorkflowEventWebsocketEvent ¶
type WorkflowEventWebsocketEvent struct {
Event string `json:"event"`
Payload json.RawMessage `json:"payload"`
}
Click to show internal directories.
Click to hide internal directories.