daemon

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2025 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Await stateCode = iota
	Init
	Booting
	Updating
	On
	Off
	Suspended
	Fault
)

Variables

This section is empty.

Functions

func NewShepherdFactory

func NewShepherdFactory(cfg ShepherdConfig) (core.SymbolFactory, error)

Types

type ShepherdConfig

type ShepherdConfig struct {
	// Ignore is a set of Keys to ignore.
	// Must not be nil.
	Ignore map[core.Key]bool

	// Controls what candle producers get spawned. Duplicates are not checked.
	// Must be within [0, 2047] and ascending.
	Interval [shepIntCap]int16

	// Where to read data from and where to write it to.
	// Must not be nil.
	Source source.Source
	Sink   sink.Sink
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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