Versions in this module Expand all Collapse all v0 v0.9.0 Oct 20, 2021retracted Changes in this version + type AtTheEnd struct + func (s *AtTheEnd) ShouldFlush(moment Moment, t time.Time) bool + func (s *AtTheEnd) String() string + type Moment string + const Starting + const Stopping + type Periodically struct + func NewPeriodically(interval time.Duration) *Periodically + func (s *Periodically) ShouldFlush(moment Moment, t time.Time) bool + func (s *Periodically) String() string + type Strategy interface + ShouldFlush func(moment Moment, t time.Time) bool + String func() string + func StrategyFromString(str string) (Strategy, error)