Mercurial > gemma
comparison pkg/imports/wx.go @ 2723:a10022399e24
WFS downloads: Fetch user and password from config.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 19 Mar 2019 12:42:43 +0100 |
parents | 56c8ef515d93 |
children | dff749c07ae0 |
comparison
equal
deleted
inserted
replaced
2722:1c0307207162 | 2723:a10022399e24 |
---|---|
35 // FeatureType selects the feature type of the WFS service. | 35 // FeatureType selects the feature type of the WFS service. |
36 FeatureType string `json:"feature-type"` | 36 FeatureType string `json:"feature-type"` |
37 // SortBy works around misconfigured services to | 37 // SortBy works around misconfigured services to |
38 // establish a sort order to get the features. | 38 // establish a sort order to get the features. |
39 SortBy string `json:"sort-by"` | 39 SortBy string `json:"sort-by"` |
40 // User is an optional username for Basic Auth. | |
41 User string `json:"user,omitempty"` | |
42 // Password is an optional password for Basic Auth. | |
43 Password string `json:"password,omitempty"` | |
40 } | 44 } |
41 | 45 |
42 // WXJobKind is the import queue type identifier. | 46 // WXJobKind is the import queue type identifier. |
43 const WXJobKind JobKind = "wx" | 47 const WXJobKind JobKind = "wx" |
44 | 48 |