Mercurial > gemma
diff pkg/models/gauge.go @ 1646:a0982c38eac0
Import queue: Implemented email notifications.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 20 Dec 2018 15:33:29 +0100 |
parents | 334d13e63342 |
children | 49e047c2106e |
line wrap: on
line diff
--- a/pkg/models/gauge.go Thu Dec 20 15:20:49 2018 +0100 +++ b/pkg/models/gauge.go Thu Dec 20 15:33:29 2018 +0100 @@ -22,8 +22,9 @@ // GaugeMeasurementImport contains data used to define the endpoint type GaugeMeasurementImport struct { - URL string `json:"url"` - Insecure bool `json:"insecure"` + URL string `json:"url"` + Insecure bool `json:"insecure"` + SendEmail bool `json:"send-email"` } // GaugeMeasurement holds information about a gauge and the latest measurement