Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APINotifier ¶
type APINotifier struct {
// contains filtered or unexported fields
}
func NewAPINotifier ¶
func NewAPINotifier(cfg *config.Config) *APINotifier
func (*APINotifier) Send ¶
func (n *APINotifier) Send(subject, message string) error
type EmailNotifier ¶
type EmailNotifier struct {
// contains filtered or unexported fields
}
EmailNotifier manages email notifications
func NewEmailNotifier ¶
func NewEmailNotifier(cfg *config.Config) *EmailNotifier
NewEmailNotifier initializes an EmailNotifier
func (*EmailNotifier) Send ¶
func (n *EmailNotifier) Send(subject, message string) error
Send sends an email using the HTML template and provided arguments
type RabbitMQNotifier ¶
type RabbitMQNotifier struct {
// contains filtered or unexported fields
}
func NewRabbitMQNotifier ¶
func NewRabbitMQNotifier(cfg *config.Config) *RabbitMQNotifier
NewRabbitMQNotifier initializes the RabbitMQ notifier
func (*RabbitMQNotifier) Send ¶
func (n *RabbitMQNotifier) Send(subject, message string) error
type SlackNotifier ¶
type SlackNotifier struct {
// contains filtered or unexported fields
}
SlackNotifier manages Slack notifications
func NewSlackNotifier ¶
func NewSlackNotifier(cfg *config.Config) *SlackNotifier
NewSlackNotifier initializes a SlackNotifier
func (*SlackNotifier) Send ¶
func (n *SlackNotifier) Send(subject, message string) error
Send formats and sends a structured message to Slack
type TelegramNotifier ¶
type TelegramNotifier struct {
// contains filtered or unexported fields
}
TelegramNotifier manages Telegram notifications
func NewTelegramNotifier ¶
func NewTelegramNotifier(cfg *config.Config) *TelegramNotifier
NewTelegramNotifier initializes a TelegramNotifier
func (*TelegramNotifier) Send ¶
func (n *TelegramNotifier) Send(subject, message string) error
Send formats and sends a structured message to Telegram with emojis
Click to show internal directories.
Click to hide internal directories.