package
0.22.31
Repository: https://github.com/ucloud/ucloud-sdk-go.git
Documentation: pkg.go.dev

# Functions

NewHttpClient will create a new HttpClient instance.
NewHttpClientWithTransport will create a new HttpClient with specified transport.
NewHttpRequest will create a http request.
NewHttpResponse will create a new response of http request.
NewStatusError will create a new status error.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

DefaultHeaders defined default http headers.
DefaultTimeout is the default timeout of each request.

# Structs

HttpClient used to send a real request via http to server.
HttpRequest is the internal http request of sdk, don't use it at your code.
HttpResponse is a simple wrapper of "net/http" response.
StatusError is the error for http status code >= 400.

# Interfaces

Client is the interface of http client.