notifier

package
v4.2.543+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: Apache-2.0 Imports: 3 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)

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