rclone/vendor/github.com/mattn/go-ieproxy/proxy_middleman_unix.go
2020-02-26 21:26:46 +00:00

13 lines
237 B
Go

// +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
}