Versions in this module Expand all Collapse all v0 v0.2.0 Dec 1, 2025 v0.1.0 Nov 28, 2025 Changes in this version + var ErrUnsuportedConversion = errors.New("config: wrapper conversion from source type not implemented") + func NewBoolConfig(override config.Config, defaultValue bool) config.Bool + func NewBytesConfig(override config.Config, defaultValue []byte) config.Bytes + func NewDurationConfig(override config.Config, defaultValue time.Duration) config.Duration + func NewFloat64Config(override config.Config, defaultValue float64) config.Float64 + func NewInt64Config(override config.Config, defaultValue int64) config.Int64 + func NewStringConfig(config config.Config, defaultValue string) config.String + func NewUint64Config(override config.Config, defaultValue uint64) config.Uint64 + type BoolConfig struct + func (c *BoolConfig) Get(ctx context.Context) bool + func (c *BoolConfig) GetSafe(ctx context.Context) (bool, error) + func (c *BoolConfig) Shutdown() + type BytesConfig struct + func (c *BytesConfig) Get(ctx context.Context) []byte + func (c *BytesConfig) GetSafe(ctx context.Context) ([]byte, error) + func (c *BytesConfig) Shutdown() + type DurationConfig struct + func (c *DurationConfig) Get(ctx context.Context) time.Duration + func (c *DurationConfig) GetSafe(ctx context.Context) (time.Duration, error) + func (c *DurationConfig) Shutdown() + type Float64Config struct + func (c *Float64Config) Get(ctx context.Context) float64 + func (c *Float64Config) GetSafe(ctx context.Context) (float64, error) + func (c *Float64Config) Shutdown() + type Int64Config struct + func (c *Int64Config) Get(ctx context.Context) int64 + func (c *Int64Config) GetSafe(ctx context.Context) (int64, error) + func (c *Int64Config) Shutdown() + type StringConfig struct + func (c *StringConfig) Get(ctx context.Context) string + func (c *StringConfig) GetSafe(ctx context.Context) (string, error) + func (c *StringConfig) Shutdown() + type Uint64Config struct + func (c *Uint64Config) Get(ctx context.Context) uint64 + func (c *Uint64Config) GetSafe(ctx context.Context) (uint64, error) + func (c *Uint64Config) Shutdown()