feat: add temperatures to dashboard

- Refactor temperature related code and move to standalone function
This commit is contained in:
henrygd
2025-02-07 21:27:15 -05:00
parent 31d52d5e15
commit e6054058b9
4 changed files with 82 additions and 33 deletions

View File

@@ -75,6 +75,8 @@ type Info struct {
Bandwidth float64 `json:"b"`
AgentVersion string `json:"v"`
Podman bool `json:"p,omitempty"`
Gpu float64 `json:"g,omitempty"`
HighTemp float64 `json:"ht,omitempty"`
}
// Final data structure to return to the hub