Versions in this module Expand all Collapse all v0 v0.1.0 Jan 17, 2026 Changes in this version + func Validate(cfg Config) error + type Config struct + Address string + IdleTimeout time.Duration + LayoutTemplate string + LogFormat string + LogLevel string + MaxHeaderBytes int + ReadHeaderTimeout time.Duration + ReadTimeout time.Duration + ShutdownTimeout time.Duration + TemplateReload bool + TemplatesDir string + WriteTimeout time.Duration + func Default() Config + func Load(path, envPrefix string) (Config, error) + func LoadFromEnv(prefix string, base Config) Config + func LoadFromFile(path string, base Config) (Config, error) + func LoadProfile(profile Profile) (Config, error) + type Loader struct + ApplyEnv func(prefix string, base T) T + Defaults func() T + Validate func(cfg T) error + func (l Loader[T]) Load(profile Profile) (T, error) + type Profile struct + AllowMissing bool + BasePath string + EnvPath string + EnvPrefix string + SecretsPath string