summaryrefslogtreecommitdiff
path: root/internal/stats
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-14 00:12:54 +0200
committerPaul Buetow <paul@buetow.org>2026-02-14 00:12:54 +0200
commit5e416d613f61cfc16277d343e30c3c8a00b21b35 (patch)
treed73b06932e9806c21f4ff7a8bf3f985b361f82cf /internal/stats
parent956f84321860bd8e318545564474037cbd3b6fd9 (diff)
remove version and some refactoring
Diffstat (limited to 'internal/stats')
-rw-r--r--internal/stats/stats.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/stats/stats.go b/internal/stats/stats.go
index f2ef85b..ebb81b3 100644
--- a/internal/stats/stats.go
+++ b/internal/stats/stats.go
@@ -14,9 +14,9 @@ type NetStamp struct {
// HostStats holds the latest stats for one host (read-only snapshot).
type HostStats struct {
LoadAvg1, LoadAvg5, LoadAvg15 string
- Mem map[string]int64
- Net map[string]NetStamp
- CPU map[string]collector.CPULine
+ Mem map[string]int64
+ Net map[string]NetStamp
+ CPU map[string]collector.CPULine
}
// Source is the interface the display uses to read current stats.