Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchEventsWorker ¶
type FetchEventsWorker struct { Logger moira.Logger Database moira.Database Scheduler notifier.Scheduler Metrics *graphite.NotifierMetrics // contains filtered or unexported fields }
FetchEventsWorker checks for new events and new notifications based on it
func (*FetchEventsWorker) Start ¶
func (worker *FetchEventsWorker) Start()
Start is a cycle that fetches events from database
func (*FetchEventsWorker) Stop ¶
func (worker *FetchEventsWorker) Stop() error
Stop stops new event fetching and wait for finish
Click to show internal directories.
Click to hide internal directories.