package
1.0.3
Repository: https://github.com/qingcloudhx/flow.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
Get gets specified FlowModel.
New creates a new FlowModel from the specified Behaviors.
Register registers the specified flow model.
Register registers the specified flow model.
Registered gets all the registered flow models.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StatusActive indicates that the FlowInstance is active.
StatusCancelled indicates that the FlowInstance has been cancelled.
StatusCompleted indicates that the FlowInstance has been completed.
StatusFailed indicates that the FlowInstance has failed.
StatusNotStarted indicates that the FlowInstance has not started.
LinkStatusFalse indicates that the Link evaluated to false.
LinkStatusSkipped indicates that the Link has been skipped.
LinkStatusTrue indicates that the Link evaluated to true.
TaskStatusDone indicates that the Task is done.
TaskStatusEntered indicates that the Task has been entered.
TaskStatusFailed indicates that the Task failed.
TaskStatusNotStarted indicates that the Task has not been started.
TaskStatusReady indicates that the Task is ready.
TaskStatusSkipped indicates that the Task was skipped.
TaskStatusWaiting indicates that the Task is waiting.

# Structs

FlowModel defines the execution Model for a Flow.
TaskEntry is a struct used to specify what Task to enter and its corresponding enter code.

# Interfaces

FlowBehavior is the execution behavior of the Flow.
FlowContext is the execution context of the Flow when executing a Flow Behavior function.
LinkInstance is the instance of a link.
TaskBehavior is the execution behavior of a Task.
TaskContext is the execution context of the Task when executing a Task Behavior function.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author