Added pushover notification sending

This commit is contained in:
rzuasti
2026-01-23 10:25:45 -05:00
parent 8e8460afbc
commit 77f996c591
6 changed files with 111 additions and 19 deletions
+13
View File
@@ -16,10 +16,23 @@ pub struct Timings {
pub arp_scan_duration: u64,
}
#[derive(Debug, Deserialize, Clone)]
pub struct Pushover {
pub token: String,
pub user_key: String,
}
#[derive(Debug, Deserialize, Clone)]
pub struct Notifications {
pub method: String,
pub pushover: Pushover,
}
#[derive(Debug, Deserialize, Clone)]
pub struct Settings {
pub log: Log,
pub timings: Timings,
pub notifications: Notifications,
}
// End configuration structure
// -----------------------------------------------------------