canceler

package
v0.0.0-...-45105f0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Canceler

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

func New

func New(logger *slog.Logger, client bridge.AlpacaInterface, counters Counters, timeout time.Duration) *Canceler

func (*Canceler) EventLoop

func (c *Canceler) EventLoop(m jetstream.Msg)

type Counters

type Counters struct {
	CancelCount, CancelFail       prometheus.Counter
	CancelAllCount, CancelAllFail prometheus.Counter
}

Jump to

Keyboard shortcuts

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