events

package
v2.4.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2018 License: MIT Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL