joshuar-go-hass-agent/internal/linux/net
Joshua Rich e91f38929f fix(linux): rework network sensor code to attempt to avoid race conditions
- each network connection has its own goroutine and channel for sending sensor data
- goroutines share own context with cancellation that propagates when connection is closed
- network connection tracking has locking for shared state access
- network connection data has locking for shared state access
2024-04-20 15:36:37 +10:00
..
networkConnection.go fix(linux): rework network sensor code to attempt to avoid race conditions 2024-04-20 15:36:37 +10:00
networkConnectionStates.go refactor(linux): divide sensors into own packages on Linux 2024-01-06 09:33:18 +10:00
networkRates.go refactor(linux): switch to unbuffered channel for network rates sensor 2024-04-19 16:46:12 +10:00
wifiProps.go fix(linux): rework network sensor code to attempt to avoid race conditions 2024-04-20 15:36:37 +10:00