This commit is contained in:
liwei committed 2024-05-01 18:35:32 +08:00
1 parent 070db64ca9
commit f8ea009fe9
6 files changed
+27 -12

No files matched your search

+2 -1
View File
@@ -141,7 +141,8 @@ func (cfg *DownloaderStoreConfig) ProxyUrl() *url.URL {
}
type DownloaderProxyConfig struct {
Enable bool `json:"enable"`
Enable bool `json:"enable"`
// Scheme is the proxy scheme, e.g. http, https, socks5, but there is a special scheme "system" that means use system proxy
Scheme string `json:"scheme"`
Host string `json:"host"`
Usr string `json:"usr"`