Mercurial > gemma
diff pkg/models/gauge.go @ 1708:49e047c2106e
Imports: Made imports re-runnable if they fail.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 08 Jan 2019 13:35:44 +0100 |
parents | a0982c38eac0 |
children | 6a67cd819e93 |
line wrap: on
line diff
--- a/pkg/models/gauge.go Tue Jan 08 12:34:29 2019 +0100 +++ b/pkg/models/gauge.go Tue Jan 08 13:35:44 2019 +0100 @@ -18,6 +18,8 @@ "fmt" "strconv" "time" + + "gemma.intevation.de/gemma/pkg/common" ) // GaugeMeasurementImport contains data used to define the endpoint @@ -25,6 +27,8 @@ URL string `json:"url"` Insecure bool `json:"insecure"` SendEmail bool `json:"send-email"` + // Attributes are optional attributes. + Attributes common.Attributes `json:"attributes,omitempty"` } // GaugeMeasurement holds information about a gauge and the latest measurement