Versions in this module Expand all Collapse all v0 v0.1.2 Aug 30, 2024 Changes in this version type Config + Providers Providers + type Providers struct + LocalEnabled bool + TursoEnabled bool v0.1.1 Aug 28, 2024 v0.1.0 Aug 27, 2024 Changes in this version + var DefaultConfigFilePath = "./config/.config.yaml" + type CORS struct + AllowOrigins []string + CookieInsecure bool + type Config struct + DB entx.Config + Ratelimit ratelimit.Config + Redis cache.Config + RefreshInterval time.Duration + Server Server + Sessions sessions.Config + Tracer otelx.Config + Turso turso.Config + func Load(cfgFile *string) (*Config, error) + type Server struct + CORS cors.Config + CacheControl cachecontrol.Config + Debug bool + Dev bool + IdleTimeout time.Duration + Listen string + Mime mime.Config + ReadHeaderTimeout time.Duration + ReadTimeout time.Duration + Redirects redirect.Config + Secure secure.Config + ShutdownGracePeriod time.Duration + TLS TLS + WriteTimeout time.Duration + type TLS struct + AutoCert bool + CertFile string + CertKey string + Config *tls.Config + Enabled bool