Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultPort = 3000 DefaultHost = "0.0.0.0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int `json:"port"` LogLevel string `json:"log_level"` Username string `json:"username"` Password string `json:"password"` Host string `json:"host"` RunHousekeeping bool `json:"run_housekeeping"` KeepSnapshotsForDays int `json:"keep_snapshots_for_days"` CronSchedule string `json:"cron_schedule"` RDSConfig *rdsbroker.Config `json:"rds_config"` TLS *TLSConfig `json:"tls"` }
func LoadConfig ¶
func (*Config) FillDefaults ¶
func (c *Config) FillDefaults()
func (Config) TLSEnabled ¶ added in v1.56.0
Click to show internal directories.
Click to hide internal directories.