Versions in this module Expand all Collapse all v7 v7.8.2 Jan 25, 2021 Changes in this version + var DebugMode = false + var DeepDebugInfo = false + var DefaultClient = Client + var UserAgent = "Golang qiniu/client package" + func CallRet(ctx context.Context, ret interface{}, resp *http.Response) (err error) + func ResponseError(resp *http.Response) (err error) + func SetAppName(userApp string) error + func TurnOnDebug() + type Client struct + func (r Client) Call(ctx context.Context, ret interface{}, method, reqUrl string, ...) (err error) + func (r Client) CallWith(ctx context.Context, ret interface{}, method, reqUrl string, ...) (err error) + func (r Client) CallWith64(ctx context.Context, ret interface{}, method, reqUrl string, ...) (err error) + func (r Client) CallWithForm(ctx context.Context, ret interface{}, method, reqUrl string, ...) (err error) + func (r Client) CallWithJson(ctx context.Context, ret interface{}, method, reqUrl string, ...) (err error) + func (r Client) CredentialedCall(ctx context.Context, cred *auth.Credentials, tokenType auth.TokenType, ...) error + func (r Client) CredentialedCallWith(ctx context.Context, cred *auth.Credentials, tokenType auth.TokenType, ...) error + func (r Client) CredentialedCallWith64(ctx context.Context, cred *auth.Credentials, tokenType auth.TokenType, ...) error + func (r Client) CredentialedCallWithForm(ctx context.Context, cred *auth.Credentials, tokenType auth.TokenType, ...) error + func (r Client) CredentialedCallWithJson(ctx context.Context, cred *auth.Credentials, tokenType auth.TokenType, ...) error + func (r Client) Do(ctx context.Context, req *http.Request) (resp *http.Response, err error) + func (r Client) DoRequest(ctx context.Context, method, reqUrl string, headers http.Header) (resp *http.Response, err error) + func (r Client) DoRequestWith(ctx context.Context, method, reqUrl string, headers http.Header, ...) (resp *http.Response, err error) + func (r Client) DoRequestWith64(ctx context.Context, method, reqUrl string, headers http.Header, ...) (resp *http.Response, err error) + func (r Client) DoRequestWithForm(ctx context.Context, method, reqUrl string, headers http.Header, ...) (resp *http.Response, err error) + func (r Client) DoRequestWithJson(ctx context.Context, method, reqUrl string, headers http.Header, ...) (resp *http.Response, err error) + type ErrorInfo struct + Code int + Err string + Errno int + Key string + Reqid string + func (r *ErrorInfo) Error() string + func (r *ErrorInfo) ErrorDetail() string + func (r *ErrorInfo) HttpCode() int + func (r *ErrorInfo) RpcError() (code, errno int, key, err string)