From b6ad5d8ad327066b21bdb690f5a5017f6bed9740 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Thu, 20 Apr 2017 20:58:22 +0200 Subject: Implement reminder job --- boardvoting.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'boardvoting.go') 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"` -- cgit v1.2.1