alerts

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alerts added in v0.7.0

type Alerts struct {
	// contains filtered or unexported fields
}

func New added in v0.7.0

func New(alertManager corestorage.Alert, chManager ChManager, logger *zap.Logger) *Alerts

func (*Alerts) Handler added in v0.7.0

func (a *Alerts) Handler(r chi.Router)

type ChManager added in v0.7.0

type ChManager interface {
	Send(a *alert.Alert, text string, options *alert.Options)
}

Jump to

Keyboard shortcuts

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