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 ErrNoValue = errors.New("config: no value set") + var ErrShutdown = errors.New("config: shutdown") + var NoopConfig = &noopConfig + type Bool interface + Get func(ctx context.Context) bool + GetSafe func(ctx context.Context) (bool, error) + Shutdown func() + type Bytes interface + Get func(ctx context.Context) []byte + GetSafe func(ctx context.Context) ([]byte, error) + Shutdown func() + type Config interface + Get func(ctx context.Context) (interface{}, error) + Shutdown func() + type Duration interface + Get func(ctx context.Context) time.Duration + GetSafe func(ctx context.Context) (time.Duration, error) + Shutdown func() + type Encrypted interface + Get func(ctx context.Context) []byte + GetSafe func(ctx context.Context) ([]byte, error) + Shutdown func() + type Float64 interface + Get func(ctx context.Context) float64 + GetSafe func(ctx context.Context) (float64, error) + Shutdown func() + type Int64 interface + Get func(ctx context.Context) int64 + GetSafe func(ctx context.Context) (int64, error) + Shutdown func() + type String interface + Get func(ctx context.Context) string + GetSafe func(ctx context.Context) (string, error) + Shutdown func() + type Uint64 interface + Get func(ctx context.Context) uint64 + GetSafe func(ctx context.Context) (uint64, error) + Shutdown func()