Versions in this module Expand all Collapse all v0 v0.32.3 Nov 7, 2020 v0.32.2 Nov 6, 2020 Changes in this version + type Counter interface + Clear func() + Count func() int64 + Dec func(int64) + Inc func(int64) + Snapshot func() Counter + func NewCounter() Counter + type CounterMetric interface + Inc func() + type DateCounter interface + Clear func() + Dec func(int64) + GetLastDaysCount func(lastdays int64) []int64 + Inc func(int64) + Snapshot func() DateCounter + TodayCount func() int64 + func NewDateCounter(reserveDays int64) DateCounter + type GaugeMetric interface + Dec func() + Inc func() + Set func(float64) + type HistogramMetric interface + Observe func(float64) + type StandardCounter struct + func (c *StandardCounter) Clear() + func (c *StandardCounter) Count() int64 + func (c *StandardCounter) Dec(count int64) + func (c *StandardCounter) Inc(count int64) + func (c *StandardCounter) Snapshot() Counter + type StandardDateCounter struct + func (c *StandardDateCounter) Clear() + func (c *StandardDateCounter) Dec(count int64) + func (c *StandardDateCounter) GetLastDaysCount(lastdays int64) []int64 + func (c *StandardDateCounter) Inc(count int64) + func (c *StandardDateCounter) Snapshot() DateCounter + func (c *StandardDateCounter) TodayCount() int64