Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Version is the version of the service. Version = "devel" // CommitHash is the commit hash of the service. CommitHash = "" )
View Source
const (
// DefaultBalanceSymbol is the default symbol used to have the total balance.
DefaultBalanceSymbol = "USDT"
)
Variables ¶
View Source
var ( // ErrNoActualPrice is the error when there is no actual price when requesting balance. ErrNoActualPrice = fmt.Errorf("no actual price") )
Functions ¶
func ServiceInfoWorkflow ¶
func ServiceInfoWorkflow(_ workflow.Context, _ api.ServiceInfoParams) (api.ServiceInfoResults, error)
ServiceInfoWorkflow returns the service information.
Types ¶
type Forwardtests ¶
type Forwardtests interface {
Register(w worker.Worker)
CreateForwardtestWorkflow(
ctx workflow.Context,
params api.CreateForwardtestWorkflowParams,
) (api.CreateForwardtestWorkflowResults, error)
ListForwardtestsWorkflow(
ctx workflow.Context,
params api.ListForwardtestsWorkflowParams,
) (api.ListForwardtestsWorkflowResults, error)
CreateForwardtestOrderWorkflow(
ctx workflow.Context,
params api.CreateForwardtestOrderWorkflowParams,
) (api.CreateForwardtestOrderWorkflowResults, error)
ListForwardtestAccountsWorkflow(
ctx workflow.Context,
params api.ListForwardtestAccountsWorkflowParams,
) (api.ListForwardtestAccountsWorkflowResults, error)
GetForwardtestBalanceWorkflow(
ctx workflow.Context,
params api.GetForwardtestBalanceWorkflowParams,
) (api.GetForwardtestBalanceWorkflowResults, error)
GetForwardtestWorkflow(
ctx workflow.Context,
params api.GetForwardtestWorkflowParams,
) (api.GetForwardtestWorkflowResults, error)
RunForwardtestWorkflow(
ctx workflow.Context,
params api.RunForwardtestWorkflowParams,
) (api.RunForwardtestWorkflowResults, error)
StopForwardtestWorkflow(
ctx workflow.Context,
params api.StopForwardtestWorkflowParams,
) (api.StopForwardtestWorkflowResults, error)
SubscribeToPriceWorkflow(
ctx workflow.Context,
params api.SubscribeToPriceWorkflowParams,
) (api.SubscribeToPriceWorkflowResults, error)
}
Forwardtests is the interface for the forwardtests domain.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package db is a generated GoMock package.
|
Package db is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.