优化结构

This commit is contained in:
Yvan
2026-08-28 10:51:19 +08:00
parent fec3820464
commit 5b17f47141
12 changed files with 63 additions and 31 deletions
@@ -23,6 +23,9 @@ type listener struct {
}
type Store struct {
// This store is intentionally not merged with config.Store. Integration
// settings are database-backed and listeners subscribe by provider key,
// whereas config.Store owns file snapshots and fsnotify lifecycle.
mu sync.RWMutex
values map[string]Config
listeners map[uint64]listener