Documentation ¶
Index ¶
- type AlertInfo
- type Manager
- func (m *Manager) GetAlerts() []*AlertInfo
- func (m *Manager) GetLoader(script *script.Script) lua.LGFunction
- func (m *Manager) Init(cfg config.Channels) error
- func (m *Manager) Name() string
- func (m *Manager) Send(level, alertName, text string, channels []string, fields []string, ...)
- func (m *Manager) Stop() error
- type SendOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
type SendOption ¶ added in v0.1.0
type SendOption func()
Click to show internal directories.
Click to hide internal directories.