yggdrasil支持代理的方式仍需考虑

This commit is contained in:
Tnze
2020-01-05 01:22:33 +08:00
parent 72b1820826
commit 9245a6b9ff

View File

@ -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
}