api

package
v1.2.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: 5 Imported by: 2

Documentation

Index

Constants

View Source
const CreateForwardtestOrderWorkflowName = "CreateForwardtestOrderWorkflow"

CreateForwardtestOrderWorkflowName is the name of the CreateForwardtestOrderWorkflow.

View Source
const CreateForwardtestWorkflowName = "CreateForwardtestWorkflow"

CreateForwardtestWorkflowName is the name of the CreateForwardtestWorkflow.

View Source
const GetForwardtestBalanceWorkflowName = "GetForwardtestBalanceWorkflow"

GetForwardtestBalanceWorkflowName is the name of the GetForwardtestBalanceWorkflow.

View Source
const GetForwardtestWorkflowName = "GetForwardtestWorkflow"

GetForwardtestWorkflowName is the name of the GetForwardtestWorkflow.

View Source
const ListForwardtestAccountsWorkflowName = "ListForwardtestAccountsWorkflow"

ListForwardtestAccountsWorkflowName is the name of the ListForwardtestAccountsWorkflow.

View Source
const ListForwardtestsWorkflowName = "ListForwardtestsWorkflow"

ListForwardtestsWorkflowName is the name of the ListForwardtestsWorkflow.

View Source
const RunForwardtestWorkflowName = "RunForwardtestWorkflow"

RunForwardtestWorkflowName is the name of the RunForwardtestWorkflow.

View Source
const (
	// ServiceInfoWorkflowName is the name of the workflow to get the service info.
	ServiceInfoWorkflowName = "ServiceInfoWorkflow"
)
View Source
const StopForwardtestWorkflowName = "StopForwardtestWorkflow"

StopForwardtestWorkflowName is the name of the StopForwardtestWorkflow.

View Source
const SubscribeToPriceWorkflowName = "SubscribeToPriceWorkflow"

SubscribeToPriceWorkflowName is the name of the SubscribeToPriceWorkflow.

View Source
const (
	// WorkerTaskQueueName is the name of the task queue for the cryptellation worker.
	WorkerTaskQueueName = "CryptellationForwardtestsTaskQueue"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateForwardtestOrderWorkflowParams

type CreateForwardtestOrderWorkflowParams struct {
	ForwardtestID uuid.UUID
	Order         order.Order
}

CreateForwardtestOrderWorkflowParams is the input for the CreateForwardtestOrderWorkflow.

type CreateForwardtestOrderWorkflowResults

type CreateForwardtestOrderWorkflowResults struct{}

CreateForwardtestOrderWorkflowResults is the output for the CreateForwardtestOrderWorkflow.

type CreateForwardtestWorkflowParams

type CreateForwardtestWorkflowParams struct {
	Accounts  map[string]account.Account
	Callbacks runtime.Callbacks
}

CreateForwardtestWorkflowParams is the input for the CreateForwardtestWorkflow.

type CreateForwardtestWorkflowResults

type CreateForwardtestWorkflowResults struct {
	ID uuid.UUID
}

CreateForwardtestWorkflowResults is the output for the CreateForwardtestWorkflow.

type GetForwardtestBalanceWorkflowParams added in v1.1.1

type GetForwardtestBalanceWorkflowParams struct {
	ForwardtestID uuid.UUID
}

GetForwardtestBalanceWorkflowParams is the input for the GetForwardtestBalanceWorkflow.

type GetForwardtestBalanceWorkflowResults added in v1.1.1

type GetForwardtestBalanceWorkflowResults struct {
	Balance float64
}

GetForwardtestBalanceWorkflowResults is the output for the GetForwardtestBalanceWorkflow.

type GetForwardtestWorkflowParams added in v1.1.1

type GetForwardtestWorkflowParams struct {
	ForwardtestID uuid.UUID
}

GetForwardtestWorkflowParams is the input for the GetForwardtestWorkflow.

type GetForwardtestWorkflowResults added in v1.1.1

type GetForwardtestWorkflowResults struct {
	Forwardtest forwardtest.Forwardtest
}

GetForwardtestWorkflowResults is the output for the GetForwardtestWorkflow.

type ListForwardtestAccountsWorkflowParams

type ListForwardtestAccountsWorkflowParams struct {
	ForwardtestID uuid.UUID
}

ListForwardtestAccountsWorkflowParams is the input for the ListForwardtestAccountsWorkflow.

type ListForwardtestAccountsWorkflowResults

type ListForwardtestAccountsWorkflowResults struct {
	Accounts map[string]account.Account
}

ListForwardtestAccountsWorkflowResults is the output for the ListForwardtestAccountsWorkflow.

type ListForwardtestsWorkflowParams

type ListForwardtestsWorkflowParams struct{}

ListForwardtestsWorkflowParams is the input for the ListForwardtestsWorkflow.

type ListForwardtestsWorkflowResults

type ListForwardtestsWorkflowResults struct {
	Forwardtests []forwardtest.Forwardtest
}

ListForwardtestsWorkflowResults is the output for the ListForwardtestsWorkflow.

type RunForwardtestWorkflowParams added in v1.1.1

type RunForwardtestWorkflowParams struct {
	ForwardtestID uuid.UUID
}

RunForwardtestWorkflowParams is the input for the RunForwardtestWorkflow.

type RunForwardtestWorkflowResults added in v1.1.1

type RunForwardtestWorkflowResults struct{}

RunForwardtestWorkflowResults is the output for the RunForwardtestWorkflow.

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.

type StopForwardtestWorkflowParams added in v1.1.0

type StopForwardtestWorkflowParams struct {
	ForwardtestID uuid.UUID
}

StopForwardtestWorkflowParams is the input for the StopForwardtestWorkflow.

type StopForwardtestWorkflowResults added in v1.1.0

type StopForwardtestWorkflowResults struct{}

StopForwardtestWorkflowResults is the output for the StopForwardtestWorkflow.

type SubscribeToPriceWorkflowParams added in v1.1.0

type SubscribeToPriceWorkflowParams struct {
	ForwardtestID   uuid.UUID
	OnPriceCallback runtime.CallbackWorkflow
	Exchange        string
	Pair            string
}

SubscribeToPriceWorkflowParams is the input for the SubscribeToPriceWorkflow.

type SubscribeToPriceWorkflowResults added in v1.1.0

type SubscribeToPriceWorkflowResults struct{}

SubscribeToPriceWorkflowResults is the output for the SubscribeToPriceWorkflow.

Jump to

Keyboard shortcuts

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