Versions in this module Expand all Collapse all v1 v1.3.0 Nov 15, 2026 v1.2.0 Oct 27, 2026 Changes in this version + func Load[T any]() (*T, error) + func Validate(c any) error + type API struct + Auth Auth + DB DB + Debug Debug + EmailSender EmailSender + Graylog Graylog + InfoAPI InfoAPI + Jaeger Jaeger + Log Log + OAuth OAuth + Web Web type Auth + func (c Auth) Validate() error type DB + func (c DB) Validate() error + type Debug struct + Address string + func (c Debug) Validate() error + type EmailDelivery struct + APITimeout time.Duration + APIToken string + func (c EmailDelivery) Validate() error type EmailSender + func (c EmailSender) Validate() error type Graylog + func (c Graylog) Validate() error type InfoAPI + func (c InfoAPI) Validate() error type Jaeger + func (c Jaeger) Validate() error type Log + func (c Log) Validate() error + type Manage struct + DB DB type OAuth + func (c OAuth) Validate() error type Web + func (c Web) Validate() error + type Worker struct + DB DB + Debug Debug + EmailDelivery EmailDelivery + Graylog Graylog + Jaeger Jaeger + Log Log v1.1.0 Jun 26, 2026 v1.0.0 Apr 29, 2026 Changes in this version + const ServiceName + type Auth struct + AccessTokenTTL time.Duration + Issuer string + PrivateKeyFile string + RefreshTokenTTL time.Duration + SigningAlgorithm string + type Cfg struct + Auth Auth + DB DB + EmailSender EmailSender + Graylog Graylog + InfoAPI InfoAPI + Jaeger Jaeger + Log Log + OAuth OAuth + Web Web + func Get() (*Cfg, error) + func (cfg *Cfg) Validate() error + type DB struct + DSN string + type EmailSender struct + APITimeout time.Duration + APIToken string + BaseURL string + ContactEmail string + EmailFrom string + UnsubscribeSecret string + UnsubscribeURL string + type Graylog struct + Address string + type InfoAPI struct + Address string + Timeout time.Duration + type Jaeger struct + OTLPEndpoint string + type Log struct + Level string + type OAuth struct + GitHubClientID string + GitHubClientSecret string + GoogleClientID string + Timeout time.Duration + type Web struct + AllowedCORSOrigin string + DebugAddress string + GRPCAddress string + HTTPAddress string + ReadTimeout time.Duration + RefreshCookieSameSite string + RefreshCookieSecure bool + WriteTimeout time.Duration