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
}
Click to show internal directories.
Click to hide internal directories.