notifier

package
v4.5.2003+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Notifiers = make([]Metrics.AlertInterface, 0)
)

Functions

func NotifierInit

func NotifierInit(config *Config, influxCfg *InternalInflux.Config)

func Run

func Run()

Types

type Config

type Config struct {
	Keycode *Metrics.Notifier `mapstructure:"keycode"`
}

func NewDefaultConfig

func NewDefaultConfig() *Config

func (*Config) Validate

func (c *Config) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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