Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Webserver struct { ServerConfig `yaml:",inline"` FullURL string `yaml:"full_url"` LiteURL string `yaml:"lite_url"` DomainsOnlyURL string `yaml:"domains_only_url"` } Prometheus struct { ServerConfig `yaml:",inline"` Enabled bool `yaml:"enabled"` MetricsURL string `yaml:"metrics_url"` ExposeSystemMetrics bool `yaml:"expose_system_metrics"` } }
var ( AppConfig Config Version = "1.6.0" )
func ReadConfig ¶
ReadConfig reads the config file and returns a filled Config struct.
Click to show internal directories.
Click to hide internal directories.