Documentation ¶ Index ¶ Constants type Looper func New(db db.DB, sendico *sendico.Client, bot *bot.Bot) *Looper func (l *Looper) Cleanup(ctx context.Context) func (l *Looper) Notify(ctx context.Context) func (l *Looper) Refresh(ctx context.Context) Constants ¶ View Source const ( TickNotify = 5 * time.Minute TickCleanup = 1 * time.Hour TickRefresh = 30 * time.Minute WindowNotify = 10 * time.Minute WindowCleanup = 72 * time.Hour ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Looper ¶ type Looper struct { // contains filtered or unexported fields } func New ¶ func New(db db.DB, sendico *sendico.Client, bot *bot.Bot) *Looper func (*Looper) Cleanup ¶ func (l *Looper) Cleanup(ctx context.Context) func (*Looper) Notify ¶ func (l *Looper) Notify(ctx context.Context) func (*Looper) Refresh ¶ added in v0.3.0 func (l *Looper) Refresh(ctx context.Context) Source Files ¶ View all Source files looper.go Click to show internal directories. Click to hide internal directories.