From 9245a6b9ffebe674fae63c62a1fc3412fd8d6d41 Mon Sep 17 00:00:00 2001 From: Tnze Date: Sun, 5 Jan 2020 01:22:33 +0800 Subject: [PATCH] =?UTF-8?q?yggdrasil=E6=94=AF=E6=8C=81=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E7=9A=84=E6=96=B9=E5=BC=8F=E4=BB=8D=E9=9C=80=E8=80=83=E8=99=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yggdrasil/yggdrasil.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/yggdrasil/yggdrasil.go b/yggdrasil/yggdrasil.go index ac54f8a..9bf4f87 100644 --- a/yggdrasil/yggdrasil.go +++ b/yggdrasil/yggdrasil.go @@ -64,9 +64,3 @@ func rawPost(endpoint string, payload interface{}) (*http.Response, error) { // Do 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 -}