comparison 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
comparison
equal deleted inserted replaced
1695:be78b429ef6e 1696:ad5e1cddaa09
24 "gemma.intevation.de/gemma/pkg/common" 24 "gemma.intevation.de/gemma/pkg/common"
25 "gemma.intevation.de/gemma/pkg/models" 25 "gemma.intevation.de/gemma/pkg/models"
26 "gemma.intevation.de/gemma/pkg/soap/ifaf" 26 "gemma.intevation.de/gemma/pkg/soap/ifaf"
27 ) 27 )
28 28
29 // FairwayAvailability imports fairway availability data
30 // from an IFAF SOAP service.
29 type FairwayAvailability struct { 31 type FairwayAvailability struct {
30 URL string `json:"url"` 32 // URL is the URL of the SOAP service.
31 Insecure bool `json:"insecure"` 33 URL string `json:"url"`
32 } 34 // Insecure indicates if HTTPS traffic
33 35 // should validate certificates or not.
36 Insecure bool `json:"insecure"`
37 }
38
39 // FAJobKind is import queue type identifier.
34 const FAJobKind JobKind = "fa" 40 const FAJobKind JobKind = "fa"
35 41
36 const ( 42 const (
37 listBottlenecksSQL = ` 43 listBottlenecksSQL = `
38 SELECT 44 SELECT