added .env readability

This commit is contained in:
2025-08-11 21:33:19 +02:00
parent df36cb53c7
commit 9e851c310c
5 changed files with 40 additions and 20 deletions

View File

@@ -72,3 +72,10 @@ pub struct HardwareDto {
pub ram_size: f64,
pub ip_address: String,
}
#[derive(Debug, Deserialize, Clone)]
pub struct WatcherConfig {
pub server_url: String,
pub heartbeat_interval_secs: u64,
pub metrics_interval_secs: u64,
}