Mercurial > gemma
comparison 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 |
comparison
equal
deleted
inserted
replaced
1645:14bb1289b97b | 1646:a0982c38eac0 |
---|---|
20 "time" | 20 "time" |
21 ) | 21 ) |
22 | 22 |
23 // GaugeMeasurementImport contains data used to define the endpoint | 23 // GaugeMeasurementImport contains data used to define the endpoint |
24 type GaugeMeasurementImport struct { | 24 type GaugeMeasurementImport struct { |
25 URL string `json:"url"` | 25 URL string `json:"url"` |
26 Insecure bool `json:"insecure"` | 26 Insecure bool `json:"insecure"` |
27 SendEmail bool `json:"send-email"` | |
27 } | 28 } |
28 | 29 |
29 // GaugeMeasurement holds information about a gauge and the latest measurement | 30 // GaugeMeasurement holds information about a gauge and the latest measurement |
30 type GaugeMeasurement struct { | 31 type GaugeMeasurement struct { |
31 Gauge Isrs | 32 Gauge Isrs |