Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
EventHandler handels incoming events and notifies when an event is alerting
func NewEventHandler ¶
func NewEventHandler(notifier notifier.Notifier) *EventHandler
NewEventHandler creates new event handler
func (*EventHandler) Handle ¶
func (h *EventHandler) Handle(obj interface{}) error
Handle checks event health and notifies if unhealthy
Click to show internal directories.
Click to hide internal directories.