comparison pkg/imports/dma.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
33 URL string `json:"url"` 33 URL string `json:"url"`
34 // FeatureType selects the feature type of the WFS service. 34 // FeatureType selects the feature type of the WFS service.
35 FeatureType string `json:"feature-type"` 35 FeatureType string `json:"feature-type"`
36 // SortBy sorts the feature by this key. 36 // SortBy sorts the feature by this key.
37 SortBy string `json:"sort-by"` 37 SortBy string `json:"sort-by"`
38 // User is an optional username for Basic Auth.
39 User string `json:"user,omitempty"`
40 // Password is an optional password for Basic Auth.
41 Password string `json:"password,omitempty"`
38 } 42 }
39 43
40 // DMAJobKind is the import queue type identifier. 44 // DMAJobKind is the import queue type identifier.
41 const DMAJobKind JobKind = "dma" 45 const DMAJobKind JobKind = "dma"
42 46