Versions in this module Expand all Collapse all v0 v0.1.3 Dec 30, 2023 Changes in this version + type Counter struct + func NewCounter(interval time.Duration, total uint64, report Func) *Counter + func (c *Counter) Add(v uint64) + func (c *Counter) Done() + func (c *Counter) Get() (v, max uint64) + func (c *Counter) SetMax(max uint64) + type Func func(value uint64, total uint64, runtime time.Duration, final bool) + type UpdateFunc func(runtime time.Duration, final bool) + type Updater struct + func NewUpdater(interval time.Duration, report UpdateFunc) *Updater + func (c *Updater) Done()