backtests

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

func New

func New(c config.NATS) (*Adapter, error)

func (*Adapter) Close

func (a *Adapter) Close(ctx context.Context)

func (*Adapter) Publish

func (a *Adapter) Publish(ctx context.Context, backtestID uuid.UUID, evt event.Event) error

func (*Adapter) Subscribe

func (a *Adapter) Subscribe(ctx context.Context, backtestID uuid.UUID) (<-chan event.Event, error)

Jump to

Keyboard shortcuts

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