# HG changeset patch # User Sascha L. Teichmann # Date 1546592411 -3600 # Node ID be78b429ef6ee809ed43c572633588e4ec7d470a # Parent 4a2fad8f57de5e80785566b72c89b26902c7d862 Bottleneck import: Resolved remaining golint issues. diff -r 4a2fad8f57de -r be78b429ef6e pkg/imports/bn.go --- 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 (