Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllNotifiers = []Notifier{ &MailNotifier{}, &TelegramNotifier{}, &MatrixNotifier{}, &ListmonkNotifier{}, }
Array with Notifier reference Add your notifier here to register it
Functions ¶
This section is empty.
Types ¶
type ListmonkNotifier ¶
type ListmonkNotifier struct { Enabled bool BaseURL string Lists []int Username string Password string }
func (*ListmonkNotifier) Name ¶
func (n *ListmonkNotifier) Name() string
func (*ListmonkNotifier) Notify ¶
func (n *ListmonkNotifier) Notify(event gocal.Event)
func (*ListmonkNotifier) Setup ¶
func (n *ListmonkNotifier) Setup()
type MailNotifier ¶
type MailNotifier struct { Enabled bool Host string Port int Username string Password string EncryptTLS bool Sender string Receivers []string }
func (*MailNotifier) Name ¶
func (m *MailNotifier) Name() string
func (*MailNotifier) Notify ¶
func (m *MailNotifier) Notify(event gocal.Event)
func (*MailNotifier) Setup ¶
func (m *MailNotifier) Setup()
type MatrixNotifier ¶
type MatrixNotifier struct { Enabled bool Homeserver string Username string Password string Room id.RoomID }
func (*MatrixNotifier) Name ¶
func (m *MatrixNotifier) Name() string
func (*MatrixNotifier) Notify ¶
func (m *MatrixNotifier) Notify(event gocal.Event)
func (*MatrixNotifier) Setup ¶
func (m *MatrixNotifier) Setup()
type TelegramNotifier ¶
func (*TelegramNotifier) Name ¶
func (t *TelegramNotifier) Name() string
func (*TelegramNotifier) Notify ¶
func (t *TelegramNotifier) Notify(event gocal.Event)
func (*TelegramNotifier) Setup ¶
func (t *TelegramNotifier) Setup()
Click to show internal directories.
Click to hide internal directories.