Versions in this module Expand all Collapse all v1 v1.0.2 Jan 2, 2021 Changes in this version + type Freq struct + func New(t time.Time) *Freq + func (f *Freq) Hits() int + func (f *Freq) Reset(t time.Time, hits int) + func (f *Freq) Update(d time.Duration, now time.Time) int