diff pkg/imports/fa.go @ 1696:ad5e1cddaa09

Imports: Resolved the remaining golint issues with this package.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 04 Jan 2019 13:41:07 +0100
parents 4a2fad8f57de
children 807569b08513
line wrap: on
line diff
--- a/pkg/imports/fa.go	Fri Jan 04 10:00:11 2019 +0100
+++ b/pkg/imports/fa.go	Fri Jan 04 13:41:07 2019 +0100
@@ -26,11 +26,17 @@
 	"gemma.intevation.de/gemma/pkg/soap/ifaf"
 )
 
+// FairwayAvailability imports fairway availability data
+// from an IFAF SOAP service.
 type FairwayAvailability 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"`
 }
 
+// FAJobKind is import queue type identifier.
 const FAJobKind JobKind = "fa"
 
 const (