diff options
author | Jan Dittberner <jandd@cacert.org> | 2017-04-20 20:58:22 +0200 |
---|---|---|
committer | Jan Dittberner <jan@dittberner.info> | 2017-04-22 00:12:38 +0200 |
commit | b6ad5d8ad327066b21bdb690f5a5017f6bed9740 (patch) | |
tree | 6bd3420f4389a684c575aee792271bad64ef0d52 /boardvoting.go | |
parent | dcdd5f715f4800d02b04841054342ea2e44d950e (diff) | |
download | cacert-boardvoting-b6ad5d8ad327066b21bdb690f5a5017f6bed9740.tar.gz cacert-boardvoting-b6ad5d8ad327066b21bdb690f5a5017f6bed9740.tar.xz cacert-boardvoting-b6ad5d8ad327066b21bdb690f5a5017f6bed9740.zip |
Implement reminder job
Diffstat (limited to 'boardvoting.go')
-rw-r--r-- | boardvoting.go | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/boardvoting.go b/boardvoting.go index 3b03f22..152d969 100644 --- a/boardvoting.go +++ b/boardvoting.go @@ -468,15 +468,16 @@ func (h motionsHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { } type Config struct { - BoardMailAddress string `yaml:"board_mail_address"` - NoticeSenderAddress string `yaml:"notice_sender_address"` - DatabaseFile string `yaml:"database_file"` - ClientCACertificates string `yaml:"client_ca_certificates"` - ServerCert string `yaml:"server_certificate"` - ServerKey string `yaml:"server_key"` - CookieSecret string `yaml:"cookie_secret"` - BaseURL string `yaml:"base_url"` - MailServer struct { + BoardMailAddress string `yaml:"board_mail_address"` + NoticeSenderAddress string `yaml:"notice_sender_address"` + ReminderSenderAddress string `yaml:"reminder_sender_address"` + DatabaseFile string `yaml:"database_file"` + ClientCACertificates string `yaml:"client_ca_certificates"` + ServerCert string `yaml:"server_certificate"` + ServerKey string `yaml:"server_key"` + CookieSecret string `yaml:"cookie_secret"` + BaseURL string `yaml:"base_url"` + MailServer struct { Host string `yaml:"host"` Port int `yaml:"port"` } `yaml:"mail_server"` |