Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Selector ¶
type Selector struct {
// contains filtered or unexported fields
}
Selector picks tasks by weight using the Vose alias method for O(1) selection.
func NewSelector ¶
func NewSelector(targets []config.TargetConfig) (*Selector, error)
NewSelector builds the alias table from the target list. Panics if targets is empty.
Click to show internal directories.
Click to hide internal directories.