Versions in this module Expand all Collapse all v0 v0.1.0 Dec 10, 2023 Changes in this version + type Assets struct + AssetDir string + DefaultLocale string + DisableInternal bool + ForceLocale string + type Config struct + AdminAddr string + Assets Assets + BindAddr string + DB DB + Display Display + EnableCaptcha bool + LogLevel slog.Level + Superchat Superchat + Wallet xmr.Config + func Load(fn string, defaultConfig *Config, checkPerms bool) (*Config, error) + func LoadRaw(b []byte) (*Config, error) + func (cfg *Config) Validate() error + type DB struct + DisablePending bool + MaxCount uint + MaxPendingCount *uint + MaxReceiptCount *uint + Path string + type Display struct + AuthKey string + OBS OBS + View View + type OBS struct + Disable bool + RefreshInterval uint + type Superchat struct + DefaultName string + DisplayLogo bool + MaxMessageChars uint + MaxNameChars uint + MinimumDonation *xmr.Quantity + ShowAmount bool + type View struct + Disable bool + MaxCount uint + RefreshInterval *uint