优化结构
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user