1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 17:24:45 +00:00

chore: auto format code

This commit is contained in:
Tw93
2026-01-16 07:28:58 +00:00
parent d8217235bd
commit a7ea5d94a0
5 changed files with 9 additions and 11 deletions

View File

@@ -149,6 +149,7 @@ type NetworkStatus struct {
TxRateMBs float64
IP string
}
// NetworkHistory holds the global network usage history.
type NetworkHistory struct {
RxHistory []float64
@@ -324,11 +325,11 @@ func (c *Collector) Collect() (MetricsSnapshot, error) {
TxHistory: c.txHistoryBuf.Slice(),
},
Proxy: proxyStats,
Batteries: batteryStats,
Thermal: thermalStats,
Sensors: sensorStats,
Bluetooth: btStats,
TopProcesses: topProcs,
Batteries: batteryStats,
Thermal: thermalStats,
Sensors: sensorStats,
Bluetooth: btStats,
TopProcesses: topProcs,
}, mergeErr
}