api

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2025 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// RegisterForTicksListeningWorkflowName is the name of the workflow to register
	// for ticks reception through a callback workflow.
	RegisterForTicksListeningWorkflowName = "RegisterForTicksListeningWorkflow"
)
View Source
const (
	// ServiceInfoWorkflowName is the name of the workflow to get the service info.
	ServiceInfoWorkflowName = "ServiceInfoWorkflow"
)
View Source
const (
	// UnregisterFromTicksListeningWorkflowName is the name of the workflow to register
	// for ticks reception through a callback workflow.
	UnregisterFromTicksListeningWorkflowName = "UnregisterFromTicksListeningWorkflow"
)
View Source
const (
	// WorkerTaskQueueName is the name of the task queue for the cryptellation worker.
	WorkerTaskQueueName = "CryptellationticksTaskQueue"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ListenToTicksCallbackWorkflowParams

type ListenToTicksCallbackWorkflowParams struct {
	Tick tick.Tick
}

ListenToTicksCallbackWorkflowParams is the parameters of the RegisterForTicksListening callback workflow.

type RegisterForTicksListeningWorkflowParams

type RegisterForTicksListeningWorkflowParams struct {
	Exchange string
	Pair     string
	Callback temporal.CallbackWorkflow
}

RegisterForTicksListeningWorkflowParams is the parameters of the RegisterForTicksListening workflow.

type RegisterForTicksListeningWorkflowResults

type RegisterForTicksListeningWorkflowResults struct {
	Worker worker.Worker
}

RegisterForTicksListeningWorkflowResults is the results of the RegisterForTicksListening 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.

type UnregisterFromTicksListeningWorkflowParams

type UnregisterFromTicksListeningWorkflowParams struct {
	CallbackWorkflowName string
}

UnregisterFromTicksListeningWorkflowParams is the parameters of the UnregisterFromTicksListening workflow.

type UnregisterFromTicksListeningWorkflowResults

type UnregisterFromTicksListeningWorkflowResults struct{}

UnregisterFromTicksListeningWorkflowResults is the results of the UnregisterFromTicksListening workflow.

Jump to

Keyboard shortcuts

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