link parse fx5
This commit is contained in:
parent
59078c7a93
commit
35ae698007
|
|
@ -82,8 +82,8 @@ func SendRequest(method string, endpoint string, values []byte, authKey string)
|
|||
return body, nil
|
||||
}
|
||||
func NewHttpClient() (http.Client, context.Context) {
|
||||
const ConnectMaxWaitTime = 80 * time.Second
|
||||
const RequestMaxWaitTime = 120 * time.Second
|
||||
const ConnectMaxWaitTime = 30 * time.Second
|
||||
const RequestMaxWaitTime = 60 * time.Second
|
||||
proxyUrl, _ := url.Parse("http://79.98.129.183:3128")
|
||||
client := http.Client{
|
||||
Transport: &http.Transport{
|
||||
|
|
|
|||
Loading…
Reference in New Issue