Mercurial > gemma
comparison pkg/imports/wp.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 |
---|---|
48 // SortBy works around misconfigured services to | 48 // SortBy works around misconfigured services to |
49 // establish a sort order to get the features. | 49 // establish a sort order to get the features. |
50 SortBy string `json:"sort-by"` | 50 SortBy string `json:"sort-by"` |
51 // Precsion of match points to line strings. | 51 // Precsion of match points to line strings. |
52 Precision *float64 `json:"precision,omitempty"` | 52 Precision *float64 `json:"precision,omitempty"` |
53 // User is an optional username for Basic Auth. | |
54 User string `json:"user,omitempty"` | |
55 // Password is an optional password for Basic Auth. | |
56 Password string `json:"password,omitempty"` | |
53 } | 57 } |
54 | 58 |
55 const WPJobKind JobKind = "wp" | 59 const WPJobKind JobKind = "wp" |
56 | 60 |
57 type wpJobCreator struct{} | 61 type wpJobCreator struct{} |