Changes
Some checks failed
Run tests / test (1.25) (push) Failing after 1m39s
Run tests / test (stable) (push) Failing after 1m38s

This commit is contained in:
2026-02-27 16:26:48 +01:00
parent 58564affa0
commit 396c8bb02e

View File

@@ -28,6 +28,15 @@ type Info struct {
Extra map[string]any `yaml:"extra" json:"extra"` // Extra metadata
}
// Stats descriptor.
type Stats struct {
Voltage float64 `json:"voltage"` // System or battery voltage
Connections int `json:"connections"` // Active connections/neighbours/peers.
Backlog int `json:"backlog"` // Packet/payload backlog
Errors int `json:"errors"` // Errors encountered
NoiseFloor float64 `json:"noise_floor"` // Noise floor
}
type Position struct {
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`