Versions in this module Expand all Collapse all v0 v0.0.1 Jun 18, 2024 Changes in this version + var DefaultConfigFilePath = "./config/.config.yaml" + type CORS struct + AllowOrigins []string + CookieInsecure bool + type Config struct + Ratelimit ratelimit.Config + RefreshInterval time.Duration + Server Server + Tracer otelx.Config + func Load(cfgFile *string) (*Config, error) + type Datum struct + Token string + type Server struct + CORS CORS + Datum Datum + Debug bool + Dev bool + IdleTimeout time.Duration + Listen string + ReadHeaderTimeout time.Duration + ReadTimeout time.Duration + ShutdownGracePeriod time.Duration + TLS TLS + WriteTimeout time.Duration + type TLS struct + AutoCert bool + CertFile string + CertKey string + Config *tls.Config + Enabled bool