Documentation ¶
Index ¶
- type Client
- func (x *Client) Close() error
- func (x *Client) GetAttrs(ctx *model.Context, ns types.Namespace) (model.Attributes, error)
- func (x *Client) GetWorkflow(ctx *model.Context, id types.WorkflowID) (*model.WorkflowRecord, error)
- func (x *Client) GetWorkflows(ctx *model.Context, offset, limit int) ([]model.WorkflowRecord, error)
- func (x *Client) Lock(ctx *model.Context, ns types.Namespace, timeout time.Time) error
- func (x *Client) PutAttrs(ctx *model.Context, ns types.Namespace, attrs model.Attributes) error
- func (x *Client) PutWorkflow(ctx *model.Context, workflow model.WorkflowRecord) error
- func (x *Client) Unlock(ctx *model.Context, ns types.Namespace) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetWorkflow ¶ added in v0.0.15
func (x *Client) GetWorkflow(ctx *model.Context, id types.WorkflowID) (*model.WorkflowRecord, error)
func (*Client) GetWorkflows ¶ added in v0.0.15
func (*Client) PutWorkflow ¶ added in v0.0.15
Click to show internal directories.
Click to hide internal directories.