joshuar-go-hass-agent/internal/preferences
Joshua Rich c15f486fd5 perf: preferences rewrite
- remove functional preferences pattern in favour of direct struct access
- embed preferences in context and fetch from there when needed
- only load/save preferences from/to disk on agent start/stop and new registrations
2024-07-05 21:01:54 +10:00
..
context.go perf: preferences rewrite 2024-07-05 21:01:54 +10:00
context_test.go perf: preferences rewrite 2024-07-05 21:01:54 +10:00
prefs.go perf: preferences rewrite 2024-07-05 21:01:54 +10:00
prefs_test.go perf: preferences rewrite 2024-07-05 21:01:54 +10:00
validation.go perf: preferences rewrite 2024-07-05 21:01:54 +10:00