Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct {
// contains filtered or unexported fields
}
Bot models an assistant bot.
func (*Bot) ScheduleTask ¶
ScheduleTask schedules a task to run on a regular basis.
type BotOpts ¶
type BotOpts struct { // Notifiers are things used to send notifications about things // that have happened. Notifiers []notifier.Notifier // NotificationLevel is the minimum level of notifications that // are allowed to be sent at a global level. NotificationLevel notifier.Status // MaxConcurrency sets the maximum number of concurrently running // tasks. If unset a default concurrency amount is used. MaxConcurrency int }
BotOpts are options used to configure a newly created bot.
Click to show internal directories.
Click to hide internal directories.