Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sorter ¶
type Sorter struct {
// contains filtered or unexported fields
}
Sorter represents a sorter applied to aggregators
func (*Sorter) HasPosition ¶
HasPosition check if position exists
func (*Sorter) SetAggregators ¶
func (s *Sorter) SetAggregators(aggregators *aggregator.Aggregators)
SetAggregators populate aggregators
type Sorters ¶
type Sorters []*Sorter
Sorters list all sorters to apply to positions
func (*Sorters) Sort ¶
func (s *Sorters) Sort(aggregators *aggregator.Aggregators)
Sort aggregators using provided sorters
Click to show internal directories.
Click to hide internal directories.