aggregator

package
v1.3.1 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: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(exchs ...exchanges.Exchanges) exchanges.Exchanges

New will create a new exchanges aggregator.

Types

type Activities

type Activities struct {
	// contains filtered or unexported fields
}

Activities is the struct that will handle the exchanges aggregator.

func (Activities) ListenSymbolActivity

func (a Activities) ListenSymbolActivity(
	ctx context.Context,
	params exchanges.ListenSymbolParams,
) (exchanges.ListenSymbolResults, error)

ListenSymbolActivity will listen to the symbol activity.

func (*Activities) Name

func (a *Activities) Name() string

Name will return the name of the aggregator.

func (*Activities) Register

func (a *Activities) Register(w worker.Worker)

Register will register the exchanges aggregator to Temporal.

Jump to

Keyboard shortcuts

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