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

14 lines
237 B
Go
Raw Normal View History

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