feat: computer data uptime

also fix last commit
This commit is contained in:
trafficlunar 2025-07-20 21:38:37 +01:00
parent 02740548de
commit 84dfe05de8
3 changed files with 13 additions and 4 deletions

View file

@ -10,9 +10,10 @@ type ComputerWebSocketMessage struct {
}
type ComputerData struct {
Online bool `json:"online"`
Totals ComputerTotals `json:"totals"`
Graph []ComputerGraphData `json:"graph"`
Online bool `json:"online"`
UptimeStart int `json:"uptimeStart"`
Totals ComputerTotals `json:"totals"`
Graph []ComputerGraphData `json:"graph"`
}
type ComputerTotals struct {