vendor: add github.com/koofr/go-koofrclient

* added koofr client SDK dep for koofr backend
This commit is contained in:
jaKa 2019-02-13 14:05:59 +01:00 committed by Nick Craig-Wood
parent 27714e29c3
commit 1d14e30383
22 changed files with 1461 additions and 0 deletions

29
vendor/github.com/koofr/go-httpclient/transport.go generated vendored Normal file
View file

@ -0,0 +1,29 @@
package httpclient
import (
"crypto/tls"
"net/http"
)
var HttpTransport = &http.Transport{
DisableCompression: true,
Proxy: http.ProxyFromEnvironment,
}
var HttpClient = &http.Client{
Transport: HttpTransport,
}
var InsecureTlsConfig = &tls.Config{
InsecureSkipVerify: true,
}
var InsecureHttpTransport = &http.Transport{
TLSClientConfig: InsecureTlsConfig,
DisableCompression: true,
Proxy: http.ProxyFromEnvironment,
}
var InsecureHttpClient = &http.Client{
Transport: InsecureHttpTransport,
}