manager

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelsManager

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

ChannelsManager represents the Alert manager struct

func New

func New(logger *zap.Logger) *ChannelsManager

New returns new Alert manager instance

func (*ChannelsManager) Init

func (m *ChannelsManager) Init(cfg *channels.Channels) error

Init the Alert manager

func (*ChannelsManager) Send

func (m *ChannelsManager) Send(a *alert.Alert, text string, options *alert.Options)

Send a message

Jump to

Keyboard shortcuts

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