Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Snapshot ¶
type Snapshot struct {
// contains filtered or unexported fields
}
Snapshot captures the current state of all registered dynamic values. Useful for debugging and logging current configuration.
type Value ¶
type Value[T any] struct { // contains filtered or unexported fields }
Value holds a configuration value that can be swapped atomically at runtime.
This is the fundamental building block for dynamic configuration. Any policy or config struct can be wrapped in a Value for hot-swapping.
Thread-safe: reads use atomic.Value, writes use sync.Mutex.
Click to show internal directories.
Click to hide internal directories.