client

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	// GetExchange calls the exchange get workflow.
	GetExchange(ctx context.Context, params api.GetExchangeWorkflowParams) (api.GetExchangeWorkflowResults, error)
	// ListExchanges calls the exchanges list workflow.
	ListExchanges(ctx context.Context, params api.ListExchangesWorkflowParams) (api.ListExchangesWorkflowResults, error)
	// Info calls the service info.
	Info(ctx context.Context) (api.ServiceInfoResults, error)
	// Close closes the client.
	Close(ctx context.Context)
}

Client is a client for the cryptellation exchanges service.

func New

func New(addr string) (Client, error)

New creates a new client to execute temporal workflows.

Jump to

Keyboard shortcuts

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