Add https option for proxy urls

Signed-off-by: Pierre-Emmanuel Jacquier <pierre-emmanuel.jacquier@exoscale.ch>
This commit is contained in:
Pierre-Emmanuel Jacquier
2019-09-12 10:38:04 +00:00
parent 3f6bc7d648
commit 99378efdb8
6 changed files with 21 additions and 7 deletions

View File

@@ -20,6 +20,7 @@ type ProxyConfig struct {
XtreamPassword string
XtreamBaseURL string
RemoteURL *url.URL
HTTPS bool
//XXX Very unsafe
User, Password string
}