Versions in this module Expand all Collapse all v1 v1.24.5 Aug 14, 2025 Changes in this version + func SetCfgSecKeyGetter(p CfgSecKeyGetter) + func SetDynGetter(p DynKeyGetter) + type CfgSecKey struct + Key string + Sec string + type CfgSecKeyGetter interface + GetValue func(sec, key string) (v string, has bool) + func GetCfgSecKeyGetter() CfgSecKeyGetter + type DynKeyGetter interface + GetRevision func(ctx context.Context) int + GetValue func(ctx context.Context, key string) (v string, has bool) + InvalidateCache func() + func GetDynGetter() DynKeyGetter + type Value struct + func ValueJSON[T any](dynKey string) *Value[T] + func (value *Value[T]) DynKey() string + func (value *Value[T]) Value(ctx context.Context) (v T) + func (value *Value[T]) WithDefault(def T) *Value[T] + func (value *Value[T]) WithFileConfig(cfgSecKey CfgSecKey) *Value[T]