Documentation
¶
Index ¶
- Constants
- Variables
- func StartHandler(ctx workflow.Context, workflowID string, req HandlerRequest)
- type CancelRequest
- type CancelResponse
- type ExecuteResponse
- type FinishedRequest
- type FinishedResponse
- type HandlerRequest
- type Params
- type ReadyRequest
- type ReadyResponse
- type StatusRequest
- type StatusResponse
- type ValidateResponse
- type Workflows
Constants ¶
View Source
const ( CancelUpdateName string = "cancel" CancelUpdateType = handlerTypeUpdate )
View Source
const ( FinishedHandlerName string = "finished" FinishedHandlerType = handlerTypeUpdate )
View Source
const ( ReadyHandlerName string = "ready" ReadyHandlerType = handlerTypeUpdate )
View Source
const ( StatusQueryName string = "status" StatusQueryType = handlerTypeQuery )
View Source
const ExecuteUpdateName string = "execute"
View Source
const ValidateUpdateName string = "validate"
Variables ¶
View Source
var ErrAlreadyExecuted = errors.New("signal already succeeded")
Functions ¶
func StartHandler ¶
func StartHandler(ctx workflow.Context, workflowID string, req HandlerRequest)
Types ¶
type CancelRequest ¶ added in v0.19.850
type CancelRequest struct{}
type CancelResponse ¶ added in v0.19.850
type CancelResponse struct{}
type ExecuteResponse ¶
type ExecuteResponse struct{}
type FinishedRequest ¶
type FinishedRequest struct{}
type FinishedResponse ¶
type FinishedResponse struct{}
type HandlerRequest ¶
type ReadyRequest ¶
type ReadyRequest struct{}
type ReadyResponse ¶
type ReadyResponse struct{}
type StatusRequest ¶ added in v0.19.850
type StatusRequest struct{}
type StatusResponse ¶ added in v0.19.850
type ValidateResponse ¶
type ValidateResponse struct{}
type Workflows ¶
type Workflows struct {
// contains filtered or unexported fields
}
func NewWorkflows ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.