added .env readability
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
Reference in New Issue
Block a user