Codebase list golang-github-mattn-go-ieproxy / upstream/0.0.6 proxy_middleman_unix.go
upstream/0.0.6

Tree @upstream/0.0.6 (Download .tar.gz)

proxy_middleman_unix.go @upstream/0.0.6raw · history · blame

// +build !windows,!darwin

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
}