Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecordWorkflowStarted ¶
func RecordWorkflowStarted(context.Context, WorkflowStarted) error
func Register ¶
func Register(registry *gowdkcontracts.Registry)
Types ¶
type DashboardSnapshot ¶
type DashboardSnapshot struct {
OpenWorkflows int `json:"openWorkflows"`
Source string `json:"source"`
}
func LoadDashboardSnapshot ¶
func LoadDashboardSnapshot(context.Context, GetDashboardSnapshot) (DashboardSnapshot, error)
type GetDashboardSnapshot ¶
type GetDashboardSnapshot struct{}
type StartWorkflow ¶
type StartWorkflow struct {
Name string
}
type StartWorkflowResult ¶
type StartWorkflowResult struct {
ID string `json:"id"`
}
func HandleStartWorkflow ¶
func HandleStartWorkflow(ctx context.Context, command StartWorkflow) (StartWorkflowResult, error)
type WorkflowStarted ¶
Click to show internal directories.
Click to hide internal directories.