Mercurial > gemma
changeset 1695:be78b429ef6e
Bottleneck import: Resolved remaining golint issues.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 04 Jan 2019 10:00:11 +0100 |
parents | 4a2fad8f57de |
children | ad5e1cddaa09 |
files | pkg/imports/bn.go |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/imports/bn.go Thu Jan 03 17:53:18 2019 +0100 +++ b/pkg/imports/bn.go Fri Jan 04 10:00:11 2019 +0100 @@ -25,11 +25,17 @@ "gemma.intevation.de/gemma/pkg/soap/ifbn" ) +// Bottleneck is an import job to import +// bottlenecks from an IFBN SOAP service. type Bottleneck struct { - URL string `json:"url"` - Insecure bool `json:"insecure"` + // URL is the URL of the SOAP service. + URL string `json:"url"` + // Insecure indicates if HTTPS traffic + // should validate certificates or not. + Insecure bool `json:"insecure"` } +// BNJobKind is import queue type identifier. const BNJobKind JobKind = "bn" const (