rclone/vendor/github.com/mattn/go-ieproxy/proxyMiddleman_unix.go

14 lines
237 B
Go
Raw Normal View History

2019-08-27 01:00:17 +08:00
// +build !windows
package ieproxy
import (
"net/http"
"net/url"
)
func proxyMiddleman() func(req *http.Request) (i *url.URL, e error) {
// Fallthrough to ProxyFromEnvironment on all other OSes.
return http.ProxyFromEnvironment
}