Mercurial > gemma
comparison pkg/imports/wa.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 | 7cb027be277d |
comparison
equal
deleted
inserted
replaced
2722:1c0307207162 | 2723:a10022399e24 |
---|---|
36 // FeatureType selects the feature type of the WFS service. | 36 // FeatureType selects the feature type of the WFS service. |
37 FeatureType string `json:"feature-type"` | 37 FeatureType string `json:"feature-type"` |
38 // SortBy works around misconfigured services to | 38 // SortBy works around misconfigured services to |
39 // establish a sort order to get the features. | 39 // establish a sort order to get the features. |
40 SortBy string `json:"sort-by"` | 40 SortBy string `json:"sort-by"` |
41 // User is an optional username for Basic Auth. | |
42 User string `json:"user,omitempty"` | |
43 // Password is an optional password for Basic Auth. | |
44 Password string `json:"password,omitempty"` | |
41 } | 45 } |
42 | 46 |
43 // WAJobKind is the import queue type identifier. | 47 // WAJobKind is the import queue type identifier. |
44 const WAJobKind JobKind = "wa" | 48 const WAJobKind JobKind = "wa" |
45 | 49 |