Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfiguration ¶
Types ¶
type Config ¶
type Config struct { Port int `toml:"port"` Host string `toml:"host"` DatabaseHost string `toml:"database_host"` DatabasePort int `toml:"database_port"` DatabaseUsername string `toml:"database_username"` DatabaseName string `toml:"database_name"` DatabasePassword string `toml:"database_password"` DatabaseRootCertificate string `toml:"database_root_certificate"` LogEntriesHost string `toml:"logentries_host"` LogEntriesKey string `toml:"logentries_token"` Region string `toml:"region"` PasswordBucket string `toml:"password_bucket"` PasswordKey string `toml:"password_key"` FrontendAssets string `toml:"frontend_assets"` FrontendAssetsLocalPrefix string `toml:"frontend_assets_local_prefix"` FrontendAssetsBucket string `toml:"frontend_assets_bucket"` FrontendAssetsKey string `toml:"frontend_assets_key"` SyncPeriod int `toml:"sync_period"` ScalePeriod int `toml:"scale_period"` KillStuckJobs bool `toml:"kill_stuck_jobs"` UseDatadogTracing bool `toml:"use_datadog_tracing"` }
var Conf Config
Store config in a global variable
Click to show internal directories.
Click to hide internal directories.