2
0
mirror of https://github.com/stefan01/transocks.git synced 2025-02-21 03:00:48 +07:00

gofmt clean.

This commit is contained in:
ymmt2005 2016-09-01 22:51:27 +09:00
parent 332270a86c
commit 2f95b420e7

View File

@ -39,7 +39,7 @@ func httpDialType(u *url.URL, forward proxy.Dialer) (proxy.Dialer, error) {
up := uu.Username() + ":" + passwd
authz := "Basic " + base64.StdEncoding.EncodeToString([]byte(up))
header = map[string][]string{
"Proxy-Authorization": []string{authz},
"Proxy-Authorization": {authz},
}
}
return &httpDialer{