Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigManager ¶
type ConfigManager[T any] struct { // contains filtered or unexported fields }
func New ¶
func New[T any](repo Repository, initCfg T, scanInterval time.Duration) *ConfigManager[T]
func (*ConfigManager[T]) GetConfig ¶
func (m *ConfigManager[T]) GetConfig() T
func (*ConfigManager[T]) LoadConfig ¶
func (m *ConfigManager[T]) LoadConfig(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.