Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchNotificationsWorker ¶
type FetchNotificationsWorker struct { Logger moira.Logger Database moira.Database Notifier notifier.Notifier // contains filtered or unexported fields }
FetchNotificationsWorker - check for new notifications and send it using notifier
func (*FetchNotificationsWorker) Start ¶
func (worker *FetchNotificationsWorker) Start()
Start is a cycle that fetches scheduled notifications from database
func (*FetchNotificationsWorker) Stop ¶
func (worker *FetchNotificationsWorker) Stop() error
Stop stops new notifications fetching and wait for finish
Click to show internal directories.
Click to hide internal directories.