-DproxySet=true -DproxyHost=127.0.0.1 -DproxyPort=8888
golang 访问请求
proxy := func(_ *http.Request) (*url.URL, error) {
return url.Parse("http://127.0.0.1:8888")
}
transport := &http.Transport{Proxy: proxy}
client := &http.Client{Transport: transport}