Versions in this module Expand all Collapse all v1 v1.5.0 Jan 6, 2022 v1.4.0 Nov 16, 2021 Changes in this version + type DailyQuotaCollector struct + func NewDailyQuotaCollector(opts ...DailyQuotaCollectorOption) *DailyQuotaCollector + func (d *DailyQuotaCollector) Task() (bool, error) + type DailyQuotaCollectorOption func(collector *DailyQuotaCollector) + func DailyQuotaCollectorWithBundle(bndl *bundle.Bundle) DailyQuotaCollectorOption + func DailyQuotaCollectorWithCMPAPI(cmp interface{ ... }) DailyQuotaCollectorOption + func DailyQuotaCollectorWithDBClient(db *dbclient.DBClient) DailyQuotaCollectorOption + type ExitError struct + Message string + func (e ExitError) Error() string + type Task func() error + type Ticker struct + Interval time.Duration + Name string + Task func() (stop bool, err error) + func New(interval time.Duration, task func() (bool, error)) *Ticker + func (d *Ticker) Close() + func (d *Ticker) Run() error