eventdistributer

package
v0.0.34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 HandleWorkflowEventCreated

func HandleWorkflowEventCreated(messageBody []byte, wsHub *ws.Hub) error

func HandleWorkflowExecution

func HandleWorkflowExecution(messageBody []byte, wsHub *ws.Hub) error

func HandleWorkflowQueueItemConsumed

func HandleWorkflowQueueItemConsumed(messageBody []byte, wsHub *ws.Hub) error

func HandleWorkflowQueueItemCreated

func HandleWorkflowQueueItemCreated(messageBody []byte, wsHub *ws.Hub) error

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL