Mercurial > gemma
diff 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 |
line wrap: on
line diff
--- a/pkg/imports/wx.go Tue Mar 19 12:28:42 2019 +0100 +++ b/pkg/imports/wx.go Tue Mar 19 12:42:43 2019 +0100 @@ -37,6 +37,10 @@ // SortBy works around misconfigured services to // establish a sort order to get the features. SortBy string `json:"sort-by"` + // User is an optional username for Basic Auth. + User string `json:"user,omitempty"` + // Password is an optional password for Basic Auth. + Password string `json:"password,omitempty"` } // WXJobKind is the import queue type identifier.