Documentation ¶
Index ¶
- type Builder
- type Request
- type Signer
- func (is *Signer) BuildSignature(request *http.Request) (string, error)
- func (is *Signer) BuildStringToSign(request *http.Request) (string, error)
- func (is *Signer) BuildStringToSignByValues(requestDate string, requestMethod string, requestPath string, ...) (string, error)
- func (is *Signer) WriteSignature(request *http.Request) error
- type Unpacker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is the request builder for QingCloud service.
type Request ¶
type Request struct { Operation *data.Operation Input *reflect.Value Output *reflect.Value HTTPRequest *http.Request HTTPResponse *http.Response }
A Request can build, sign, send and unpack API request.
type Signer ¶
Signer is the http request signer for IaaS service.
func (*Signer) BuildSignature ¶
BuildSignature calculates the signature string.
func (*Signer) BuildStringToSign ¶
BuildStringToSign build the string to sign.
Click to show internal directories.
Click to hide internal directories.