Versions in this module Expand all Collapse all v1 v1.0.0 Apr 27, 2026 Changes in this version + var ErrConfigNotFound = errors.New("helix: config not found") + var ErrInvalidConfig = errors.New("helix: invalid config") + type Loader interface + ActiveProfiles func() []string + AllSettings func() map[string]any + ConfigFileUsed func() string + Load func(target any) error + Lookup func(key string) (any, bool) + func NewLoader(opts ...Option) Loader + type Option func(*loader) + func WithAllowMissingConfig() Option + func WithConfigPaths(paths ...string) Option + func WithDefaults(values map[string]any) Option + func WithEnvPrefix(prefix string) Option + func WithProfiles(profiles ...string) Option + type ReloadOption func(*reloader) error + func WithReloadInterval(interval time.Duration) ReloadOption + func WithReloadLogger(logger *slog.Logger) ReloadOption + func WithReloadables(reloadables ...Reloadable) ReloadOption + type Reloadable interface + OnConfigReload func() + type Reloader interface + RLock func() + RUnlock func() + Reload func() error + Start func(ctx context.Context) error + func NewReloader(loader Loader, target any, opts ...ReloadOption) (Reloader, error)