yggdrasil支持代理的方式仍需考虑
This commit is contained in:
@ -64,9 +64,3 @@ func rawPost(endpoint string, payload interface{}) (*http.Response, error) {
|
|||||||
// Do
|
// Do
|
||||||
return client.Do(PostRequest)
|
return client.Do(PostRequest)
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetClient set the HTTP client for Yggdrasil.
|
|
||||||
// Only used when you want to use custom HTTP client settings.
|
|
||||||
func SetClient(newclient http.Client) {
|
|
||||||
client = newclient
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user