mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 02:36:17 +01:00
feat: add temperatures to dashboard
- Refactor temperature related code and move to standalone function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user