Added build script

This commit is contained in:
2026-10-09 09:46:32 -04:00
parent fd8bb16d40
commit cf2cc9f8ed
13 changed files with 50 additions and 35 deletions
+4 -4
View File
@@ -6,7 +6,7 @@ pub enum HostStatus {
Up,
Down,
Filtered,
Unknown
Unknown,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
@@ -42,7 +42,7 @@ pub struct PortResult {
pub struct NetbiosInfo {
pub computer_name: Option<String>,
pub workgroup: Option<String>,
pub mac_from_netbios: Option<String>
pub mac_from_netbios: Option<String>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
@@ -79,7 +79,7 @@ impl HostResult {
updated_at: now_ms(),
}
}
pub fn down(ip: IpAddr) -> Self {
Self {
ip,
@@ -93,4 +93,4 @@ impl HostResult {
updated_at: now_ms(),
}
}
}
}