Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandRunner ¶
type CommandRunner struct { Log *zap.Logger DB *db.Bolt MailNotificator *email.Notificator Command *Command Name string Threshold uint ThresholdSleep time.Duration Timeout time.Duration Interval time.Duration CronSchedule cron.Schedule Notifications []string }
func (CommandRunner) Run ¶
func (c CommandRunner) Run(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.