Add homelab service and system health monitoring

This commit is contained in:
Maxim
2026-08-01 12:02:09 +03:00
parent ad8972320d
commit 980f69cf8f
11 changed files with 674 additions and 33 deletions

View File

@@ -18,7 +18,7 @@ func TestReadNetworkSnapshot(t *testing.T) {
t.Fatal(err)
}
snapshot, interfaces, err := readNetworkSnapshot(path)
snapshot, interfaces, details, err := readNetworkSnapshot(path)
if err != nil {
t.Fatal(err)
}
@@ -28,4 +28,7 @@ func TestReadNetworkSnapshot(t *testing.T) {
if len(interfaces) != 2 {
t.Fatalf("неожиданный список интерфейсов: %v", interfaces)
}
if len(details) != 2 {
t.Fatalf("unexpected interface details: %+v", details)
}
}