Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkflowInstance ¶
type WorkflowInstance struct { InstanceID string `json:"instance_id,omitempty"` ParentInstanceID string `json:"parent_instance,omitempty"` ParentEventID int64 `json:"parent_event_id,omitempty"` }
func NewSubWorkflowInstance ¶
func NewSubWorkflowInstance(instanceID string, parentInstanceID string, parentEventID int64) *WorkflowInstance
func NewWorkflowInstance ¶
func NewWorkflowInstance(instanceID string) *WorkflowInstance
func (*WorkflowInstance) SubWorkflow ¶
func (wi *WorkflowInstance) SubWorkflow() bool
type WorkflowInstanceState ¶ added in v0.6.0
type WorkflowInstanceState int
const ( WorkflowInstanceStateActive WorkflowInstanceState = iota WorkflowInstanceStateFinished )
type WorkflowMetadata ¶ added in v0.4.0
func (WorkflowMetadata) Get ¶ added in v0.4.0
func (wim WorkflowMetadata) Get(key string) string
func (WorkflowMetadata) Keys ¶ added in v0.4.0
func (wim WorkflowMetadata) Keys() []string
func (WorkflowMetadata) Set ¶ added in v0.4.0
func (wim WorkflowMetadata) Set(key string, value string)
Click to show internal directories.
Click to hide internal directories.