Versions in this module Expand all Collapse all v0 v0.0.2 Nov 25, 2022 v0.0.1 Nov 25, 2022 Changes in this version + type Counter struct + func NewCounter() *Counter + func (c *Counter) CalculateAverageRate(interval time.Duration) float64 + func (c *Counter) CalculateMaximumRate(interval time.Duration) float64 + func (c *Counter) CalculateMinimumRate(interval time.Duration) float64 + func (c *Counter) Count() uint64 + func (c *Counter) Increment() + func (c *Counter) Reset() + func (c *Counter) Start() *Counter + func (c *Counter) Stop() + func (c *Counter) WithAdvancedStats() *Counter