Documentation ¶
Index ¶
- type ApiError
- type Client
- func (c *Client) CancelWorkflowInstance(ctx context.Context, instanceID string) error
- func (c *Client) CompleteManualTask(ctx context.Context, trackingID string, newVars model.Vars) error
- func (c *Client) CompleteServiceTask(ctx context.Context, trackingID string, newVars model.Vars) error
- func (c *Client) CompleteUserTask(ctx context.Context, owner string, trackingID string, newVars model.Vars) error
- func (c *Client) Dial(natsURL string) error
- func (c *Client) GetUserTask(ctx context.Context, owner string, trackingID string) (*model.WorkflowState, error)
- func (c *Client) GetWorkflowInstanceStatus(ctx context.Context, id string) ([]*model.WorkflowState, error)
- func (c *Client) LaunchWorkflow(ctx context.Context, workflowName string, mvars model.Vars) (string, error)
- func (c *Client) ListUserTaskIDs(ctx context.Context, owner string) (*model.UserTasks, error)
- func (c *Client) ListWorkflowInstance(ctx context.Context, name string) ([]*model.ListWorkflowInstanceResult, error)
- func (c *Client) ListWorkflows(ctx context.Context) ([]*model.ListWorkflowResult, error)
- func (c *Client) Listen(ctx context.Context) error
- func (c *Client) LoadBPMNWorkflowFromBytes(ctx context.Context, name string, b []byte) (string, error)
- func (c *Client) RegisterMessageSender(messageName string, sender senderFn)
- func (c *Client) RegisterServiceTask(taskName string, fn serviceFn)
- func (c *Client) RegisterWorkflowInstanceComplete(fn chan *model.WorkflowInstanceComplete)
- func (c *Client) SendMessage(ctx context.Context, workflowInstanceID string, name string, key any, ...) error
- type Command
- type EphemeralStorage
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { SvcTasks map[string]serviceFn MsgSender map[string]senderFn // contains filtered or unexported fields }
func (*Client) CancelWorkflowInstance ¶
func (*Client) CompleteManualTask ¶
func (*Client) CompleteServiceTask ¶
func (*Client) CompleteUserTask ¶
func (*Client) GetUserTask ¶ added in v0.1.88
func (*Client) GetWorkflowInstanceStatus ¶
func (*Client) LaunchWorkflow ¶
func (*Client) ListUserTaskIDs ¶ added in v0.1.86
func (*Client) ListWorkflowInstance ¶
func (*Client) ListWorkflows ¶
func (*Client) LoadBPMNWorkflowFromBytes ¶
func (*Client) RegisterMessageSender ¶
func (*Client) RegisterServiceTask ¶
func (*Client) RegisterWorkflowInstanceComplete ¶ added in v0.1.66
func (c *Client) RegisterWorkflowInstanceComplete(fn chan *model.WorkflowInstanceComplete)
type EphemeralStorage ¶ added in v0.1.73
type EphemeralStorage struct {
Option
}
Click to show internal directories.
Click to hide internal directories.