clients

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2025 License: GPL-3.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	// ListenToTicks listens to ticks from the given exchange and pair.
	ListenToTicks(
		ctx context.Context,
		exchange, pair string,
		callback func(ctx workflow.Context, params api.ListenToTicksCallbackWorkflowParams) error,
	) error
	// Info calls the service info.
	Info(ctx context.Context) (api.ServiceInfoResults, error)
}

Client is a client for the cryptellation ticks service.

func New

New creates a new client to execute temporal workflows.

type WfClient

type WfClient interface {
}

WfClient is a client for the cryptellation ticks 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