Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregator ¶
type Aggregator struct { Name string // contains filtered or unexported fields }
func NewAggregator ¶
func NewAggregator(name string) *Aggregator
func NewAggregatorWithMax ¶
func NewAggregatorWithMax(name string, maxCount uint) *Aggregator
func (*Aggregator) AggregateResult ¶
func (s *Aggregator) AggregateResult() map[string]int
func (*Aggregator) Put ¶
func (s *Aggregator) Put(key string)
Click to show internal directories.
Click to hide internal directories.