Documentation
¶
Index ¶
Constants ¶
View Source
const ( RequestMethodGET = "GET" RequestMethodPOST = "POST" SignatureMethodHMacSha256 = "HmacSHA256" )
View Source
const ( NoErr = 0 NoErrCodeDesc = "Success" ErrQCloudGoClient = 9999 )
Variables ¶
This section is empty.
Functions ¶
func EncodeStruct ¶
Types ¶
type Client ¶
func (*Client) InvokeWithGET ¶
func (*Client) InvokeWithPOST ¶
type ClientError ¶
type ClientError struct {
Message string
}
func (ClientError) Error ¶
func (ce ClientError) Error() string
type Credential ¶
func (Credential) GetSecretId ¶
func (cred Credential) GetSecretId() (string, error)
func (Credential) GetSecretKey ¶
func (cred Credential) GetSecretKey() (string, error)
func (Credential) Values ¶
func (cred Credential) Values() (CredentialValues, error)
type CredentialInterface ¶
type CredentialValues ¶
type LegacyAPIError ¶
type LegacyAPIError struct { Code int `json:"code"` Message string `json:"message"` CodeDesc string `json:"codeDesc"` }
func (LegacyAPIError) Error ¶
func (lae LegacyAPIError) Error() string
type VersionAPIError ¶
type VersionAPIError struct {
Response struct {
Error apiErrorResponse `json:"Error"`
} `json:"Response"`
}
func (VersionAPIError) Error ¶
func (vae VersionAPIError) Error() string
Click to show internal directories.
Click to hide internal directories.