Module notification

Source
Expand description

Notification service implementation.

This module provides functionality to send notifications through various channels Supports variable substitution in message templates.

Re-exports§

pub use payload_builder::DiscordPayloadBuilder;
pub use payload_builder::GenericWebhookPayloadBuilder;
pub use payload_builder::SlackPayloadBuilder;
pub use payload_builder::TelegramPayloadBuilder;
pub use payload_builder::WebhookPayloadBuilder;

Modules§

payload_builder
Webhook payload builder implementation.

Structs§

EmailContent
Configuration for email content
EmailNotifier
Implementation of email notifications via SMTP
NotificationClientPool
Notification client pool that manages HTTP and SMTP clients for sending notifications.
NotificationService
Service for managing notifications across different channels
ScriptNotifier
A notification handler that executes scripts when triggered
SmtpConfig
Configuration for SMTP connection
WebhookConfig
Represents a webhook configuration
WebhookNotifier
Implementation of webhook notifications via webhooks

Enums§

NotificationError
Represents errors that can occur during notification operations

Traits§

ScriptExecutor
Interface for executing scripts