Versions in this module Expand all Collapse all v1 v1.0.1 May 11, 2018 Changes in this version + const APP_NAME + const APP_VERSION + var Conf = Configuration + func Load(filename string) error + type BackupsConfig struct + Enabled bool + Folder string + Period int + Run string + type Configuration struct + Address string + Backups BackupsConfig + Certificate string + CheckExpired int + Compression bool + Database string + Key string + MaxReqSize int64 + Password string + Port int + Scheduler SchedulerConfig + Secret string + TokenDuration int + Username string + func (c Configuration) Auth(username, password string) bool + func (c Configuration) HashPassword(password string, cost int) string + type KeyPair struct + Private string + Public string + type PGPConfig struct + Enabled bool + Keys KeyPair + type ReportsConfig struct + Enabled bool + Filter []string + PGP PGPConfig + RateLimit int + SMTP SMTPConfig + To string + type SMTPConfig struct + Address string + Password string + Port int + Username string + type SchedulerConfig struct + Enabled bool + Period int + Reports ReportsConfig