api

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: GPL-3.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

View Source
const (
	// ListCandlesticksWorkflowName is the name of the workflow to get candlesticks.
	ListCandlesticksWorkflowName = "ListCandlesticksWorkflow"
)
View Source
const (
	// ServiceInfoWorkflowName is the name of the workflow to get the service info.
	ServiceInfoWorkflowName = "ServiceInfoWorkflow"
)
View Source
const (
	// WorkerTaskQueueName is the name of the task queue for the cryptellation worker.
	WorkerTaskQueueName = "CryptellationCandlesticksTaskQueue"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ListCandlesticksWorkflowParams

type ListCandlesticksWorkflowParams struct {
	Exchange string
	Pair     string
	Period   period.Symbol
	Start    *time.Time
	End      *time.Time
	Limit    uint
}

ListCandlesticksWorkflowParams is the parameters of the ListCandlesticks workflow.

type ListCandlesticksWorkflowResults

type ListCandlesticksWorkflowResults struct {
	List []candlestick.Candlestick
}

ListCandlesticksWorkflowResults is the result of the ListCandlesticks workflow.

type ServiceInfoParams

type ServiceInfoParams struct{}

ServiceInfoParams contains the parameters of the service info workflow.

type ServiceInfoResults

type ServiceInfoResults struct {
	Version string
}

ServiceInfoResults contains the result of the service info workflow.

Jump to

Keyboard shortcuts

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