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.
Click to show internal directories.
Click to hide internal directories.