Documentation ¶
Index ¶
Constants ¶
View Source
const ( RegionCnNorth1 = "cn-north-1" RegionUsEast1 = "us-east-1" RegionApSingapore = "ap-singapore-1" )
View Source
const ( StatementEffectAllow = "Allow" StatementEffectDeny = "Deny" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonResponse ¶
type CommonResponse struct { ResponseMetadata ResponseMetadata Result interface{} `json:"Result,omitempty"` }
Unified JSON return results
type Credentials ¶
type InnerToken ¶
type MultiPartItem ¶
type MultiPartItem struct {
// contains filtered or unexported fields
}
func CreateMultiPartItem ¶
func CreateMultiPartItem(header textproto.MIMEHeader, data io.Reader) *MultiPartItem
func CreateMultiPartItemFormField ¶
func CreateMultiPartItemFormField(fieldname string, data string) *MultiPartItem
func CreateMultiPartItemFormFile ¶
func CreateMultiPartItemFormFile(fieldname, filename string, data io.Reader) *MultiPartItem
type RequestParam ¶
type ResponseMetadata ¶
type RetrySettings ¶
type SecurityToken2 ¶
type ServiceInfo ¶
type ServiceInfo struct { Timeout time.Duration Scheme string Host string Header http.Header Credentials Credentials Retry RetrySettings }
type SignRequest ¶
type SignRequest struct { XDate string XNotSignBody string XCredential string XAlgorithm string XSignedHeaders string XSignedQueries string XSignature string XSecurityToken string Host string ContentType string XContentSha256 string Authorization string }
func GetSignRequest ¶
func GetSignRequest(requestParam RequestParam, credentials Credentials) SignRequest
Click to show internal directories.
Click to hide internal directories.