func AddRetryCondition(condition RetryConditionFunc) *Client {
	return DefaultClient.AddRetryCondition(condition)
}
AddRetryCondition method appends check function for retry. See `Client.AddRetryCondition` for more information.
package resty
import (
	"crypto/tls"
	"encoding/json"
	"io"
	"math"
	"net/http"
	"net/http/cookiejar"
	"net/url"
	"os"
	"time"
	"golang.org/x/net/publicsuffix"
)
var DefaultClient *Client
func New() *Client {
	cookieJar, _ := cookiejar.New(&cookiejar.Options{PublicSuffixList: publicsuffix.List})
	return createClient(&http.Client{Jar: cookieJar})
}
func NewWithClient(hc *http.Client) *Client {
	return createClient(hc)
}
func R() *Request {
	return DefaultClient.R()
}
func NewRequest() *Request {
	return R()
}
func SetHostURL(url string) *Client {
	return DefaultClient.SetHostURL(url)
}
func SetHeader(header, value string) *Client {
	return DefaultClient.SetHeader(header, value)
}
func SetHeaders(headers map[string]string) *Client {
	return DefaultClient.SetHeaders(headers)
}
func SetCookieJar(jar http.CookieJar) *Client {
	return DefaultClient.SetCookieJar(jar)
}
func SetCookie(hc *http.Cookie) *Client {
	return DefaultClient.SetCookie(hc)
}
func SetCookies(cs []*http.Cookie) *Client {
	return DefaultClient.SetCookies(cs)
}
func SetQueryParam(param, value string) *Client {
	return DefaultClient.SetQueryParam(param, value)
}
func SetQueryParams(params map[string]string) *Client {
	return DefaultClient.SetQueryParams(params)
}
func SetFormData(data map[string]string) *Client {
	return DefaultClient.SetFormData(data)
}
func SetBasicAuth(username, password string) *Client {
	return DefaultClient.SetBasicAuth(username, password)
}
func SetAuthToken(token string) *Client {
	return DefaultClient.SetAuthToken(token)
}
func OnBeforeRequest(m func(*Client, *Request) error) *Client {
	return DefaultClient.OnBeforeRequest(m)
}
func OnAfterResponse(m func(*Client, *Response) error) *Client {
	return DefaultClient.OnAfterResponse(m)
}
func SetPreRequestHook(h func(*Client, *Request) error) *Client {
	return DefaultClient.SetPreRequestHook(h)
}
func SetDebug(d bool) *Client {
	return DefaultClient.SetDebug(d)
}
func SetDebugBodyLimit(sl int64) *Client {
	return DefaultClient.SetDebugBodyLimit(sl)
}
func SetAllowGetMethodPayload(a bool) *Client {
	return DefaultClient.SetAllowGetMethodPayload(a)
}
func SetRetryCount(count int) *Client {
	return DefaultClient.SetRetryCount(count)
}
func SetRetryWaitTime(waitTime time.Duration) *Client {
	return DefaultClient.SetRetryWaitTime(waitTime)
}
func SetRetryMaxWaitTime(maxWaitTime time.Duration) *Client {
	return DefaultClient.SetRetryMaxWaitTime(maxWaitTime)
}