package config type config struct { Server server `yaml:"server"` Database database `yaml:"database"` Email email `yaml:"email"` Secrets secrets `yaml:"secrets"` TTL ttl `yaml:"ttl"` } type server struct { Address string `yaml:"address"` DebugMode string `yaml:"debug_mode"` FileLogger string `yaml:"file_logger"` JwtSecret string `yaml:"jwt_secret"` } type database struct { Type string `yaml:"type"` Host string `yaml:"host"` Name string `yaml:"name"` Username string `yaml:"username"` Password string `yaml:"password"` } type email struct { ResendApiKey string `yaml:"resend_api_key"` From string `yaml:"from"` } type secrets struct { jwt_secret string `yaml:"jwt_secret"` turnstile_secret string `yaml:"turnstile_secret"` } type ttl struct { magic_link_ttl string `yaml:"magic_link_ttl"` jwt_ttl string `yaml:"jwt_ttl"` }