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

14 lines
237 B
Go
Raw Normal View History

2019-08-26 19:00:17 +02: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
}