Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCfgSecKeyGetter ¶
func SetCfgSecKeyGetter(p CfgSecKeyGetter)
func SetDynGetter ¶
func SetDynGetter(p DynKeyGetter)
Types ¶
type CfgSecKeyGetter ¶
func GetCfgSecKeyGetter ¶
func GetCfgSecKeyGetter() CfgSecKeyGetter
type DynKeyGetter ¶
type DynKeyGetter interface { GetValue(ctx context.Context, key string) (v string, has bool) GetRevision(ctx context.Context) int InvalidateCache() }
func GetDynGetter ¶
func GetDynGetter() DynKeyGetter
type Value ¶
type Value[T any] struct { // contains filtered or unexported fields }
func (*Value[T]) WithDefault ¶
func (*Value[T]) WithFileConfig ¶
Click to show internal directories.
Click to hide internal directories.