Versions in this module Expand all Collapse all v1 v1.0.0 Jul 26, 2023 Changes in this version + const RegionApSingapore + const RegionCnNorth1 + const RegionUsEast1 + const StatementEffectAllow + const StatementEffectDeny + type ApiInfo struct + Form url.Values + Header http.Header + Method string + Path string + Query url.Values + Retry RetrySettings + Timeout time.Duration + type BaseResp struct + CreatedTime int64 + Status string + UpdatedTime int64 + type CommonResponse struct + ResponseMetadata ResponseMetadata + Result interface{} + type Credentials struct + AccessKeyID string + Region string + SecretAccessKey string + Service string + SessionToken string + func (c Credentials) Sign(request *http.Request) *http.Request + func (c Credentials) SignUrl(request *http.Request) string + type ErrorObj struct + Code string + CodeN int + Message string + type InnerToken struct + AccessKeyId string + ExpiredTime int64 + LTAccessKeyId string + PolicyString string + Signature string + SignedSecretAccessKey string + type MultiPartItem struct + func CreateMultiPartItem(header textproto.MIMEHeader, data io.Reader) *MultiPartItem + func CreateMultiPartItemFormField(fieldname string, data string) *MultiPartItem + func CreateMultiPartItemFormFile(fieldname, filename string, data io.Reader) *MultiPartItem + type Policy struct + Statement []*Statement + type RequestParam struct + Body []byte + Date time.Time + Headers http.Header + Host string + IsSignUrl bool + Method string + Path string + QueryList url.Values + type ResponseMetadata struct + Action string + Error *ErrorObj + Region string + RequestId string + Service string + Version string + type RetrySettings struct + AutoRetry bool + RetryInterval *time.Duration + RetryTimes *uint64 + type SecurityToken2 struct + AccessKeyID string + CurrentTime string + ExpiredTime string + SecretAccessKey string + SessionToken string + type ServiceInfo struct + Credentials Credentials + Header http.Header + Host string + Retry RetrySettings + Scheme string + Timeout time.Duration + type SignRequest struct + Authorization string + ContentType string + Host string + XAlgorithm string + XContentSha256 string + XCredential string + XDate string + XNotSignBody string + XSecurityToken string + XSignature string + XSignedHeaders string + XSignedQueries string + func GetSignRequest(requestParam RequestParam, credentials Credentials) SignRequest + type Statement struct + Action []string + Condition string + Effect string + Resource []string