clients

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2025 License: GPL-3.0 Imports: 4 Imported by: 5

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL