Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
Event is a struct that contains all the informations to start a workflow. This is the **when** in the workflow
type Result ¶
Result is a struct that contains all the informations to start a workflow. This is the **when** in the workflow
type Task ¶
Task is a struct that contains the details of a task a task should be associated to a workflow. A task is corresponding to the **then** in a workflow
type Workflow ¶
type Workflow struct { OnEvent *Event OnResult *Result Execute *Task // contains filtered or unexported fields }
Workflow is a struct that contains all the details of a workflow. A workflow contains an event source and triggers one or multiple tasks. The workflow is what is created on the **when**
Click to show internal directories.
Click to hide internal directories.