Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
// ListCandlesticks calls the candlesticks list workflow.
ListCandlesticks(
ctx context.Context,
params api.ListCandlesticksWorkflowParams,
) (res api.ListCandlesticksWorkflowResults, err error)
// Info calls the service info.
Info(ctx context.Context) (api.ServiceInfoResults, error)
}
Client is a client for the cryptellation candlesticks service.
func New ¶
func New(cl temporalclient.Client) Client
New creates a new client to execute temporal workflows.
type WfClient ¶
type WfClient interface {
// ListCandlesticks lists candlesticks from Cryptellation service.
ListCandlesticks(
ctx workflow.Context,
params api.ListCandlesticksWorkflowParams,
childWorkflowOptions *workflow.ChildWorkflowOptions,
) (result api.ListCandlesticksWorkflowResults, err error)
}
WfClient is a client for the cryptellation candlesticks service from a workflow perspective.
func NewWfClient ¶
func NewWfClient() WfClient
NewWfClient creates a new workflow client. This client is used to call workflows from within other workflows. It is not used to call workflows from outside the workflow environment.
Click to show internal directories.
Click to hide internal directories.