manager

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Methods added in v0.4.0

func Methods() []string

func ModuleName added in v0.4.0

func ModuleName() string

Types

type Manager

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

func New

func New(engine coreStorage.CoreStorage, logger *zap.Logger) *Manager

func (*Manager) GetLoader

func (m *Manager) GetLoader(script *script.Script) lua.LGFunction

func (*Manager) Init

func (m *Manager) Init(cfg config.Channels) error

func (*Manager) Name

func (m *Manager) Name() string

func (*Manager) Send

func (m *Manager) Send(level, alertName, text string, channels []string, fields []string, image string)

func (*Manager) Stop

func (m *Manager) Stop() error

Jump to

Keyboard shortcuts

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