Versions in this module Expand all Collapse all v0 v0.8.2 Dec 10, 2020 Changes in this version + const Version + func AddAuthorizationHeader(secretID, secretKey string, sessionToken string, req *http.Request, ...) + func DecodeURIComponent(s string) (string, error) + func DividePart(fileSize int64) (int64, int64) + func EncodePicOperations(pic *PicOperations) string + func EncodeURIComponent(s string) string + func GetReaderLen(reader io.Reader) (length int64, err error) + func IsNotFoundError(e error) bool + func NewBucketURL(bucketName, region string, secure bool) *url.URL + func TeeReader(reader io.Reader, writer io.Writer, total int64, listener ProgressListener) *teeReader + type ACLGrant struct + Grantee *ACLGrantee + Permission string + type ACLGrantee struct + DisplayName string + ID string + SubAccount string + Type string + UIN string + URI string + type ACLHeaderOptions struct + XCosACL string + XCosGrantFullControl string + XCosGrantRead string + XCosGrantReadACP string + XCosGrantWrite string + XCosGrantWriteACP string + type ACLXml struct + AccessControlList []ACLGrant + Owner *Owner + XMLName xml.Name + type AuthTime struct + KeyEndTime time.Time + KeyStartTime time.Time + SignEndTime time.Time + SignStartTime time.Time + func NewAuthTime(expire time.Duration) *AuthTime + type AuthorizationTransport struct + Expire time.Duration + SecretID string + SecretKey string + SessionToken string + Transport http.RoundTripper + func (t *AuthorizationTransport) GetCredential() (string, string, string) + func (t *AuthorizationTransport) RoundTrip(req *http.Request) (*http.Response, error) + func (t *AuthorizationTransport) SetCredential(ak, sk, token string) + type BaseURL struct + BatchURL *url.URL + BucketURL *url.URL + CIURL *url.URL + ServiceURL *url.URL + type BatchAccessControlGrants struct + COSGrants *BatchCOSGrant + type BatchCOSGrant struct + Grantee *BatchGrantee + Permission string + type BatchCreateJobOptions struct + ClientRequestToken string + ConfirmationRequired string + Description string + Manifest *BatchJobManifest + Operation *BatchJobOperation + Priority int + Report *BatchJobReport + RoleArn string + XMLName xml.Name + type BatchCreateJobResult struct + JobId string + XMLName xml.Name + type BatchDescribeJob struct + ConfirmationRequired string + CreationTime string + Description string + FailureReasons *BatchJobFailureReasons + JobId string + Manifest *BatchJobManifest + Operation *BatchJobOperation + Priority int + ProgressSummary *BatchProgressSummary + Report *BatchJobReport + RoleArn string + Status string + StatusUpdateReason string + SuspendedCause string + SuspendedDate string + TerminationDate string + type BatchDescribeJobResult struct + Job *BatchDescribeJob + XMLName xml.Name + type BatchGrantee struct + DisplayName string + Identifier string + TypeIdentifier string + type BatchInitiateRestoreObject struct + ExpirationInDays int + JobTier string + type BatchJobFailureReasons struct + FailureCode string + FailureReason string + type BatchJobManifest struct + Location *BatchJobManifestLocation + Spec *BatchJobManifestSpec + type BatchJobManifestLocation struct + ETag string + ObjectArn string + ObjectVersionId string + type BatchJobManifestSpec struct + Fields []string + Format string + type BatchJobOperation struct + PutObjectCopy *BatchJobOperationCopy + RestoreObject *BatchInitiateRestoreObject + type BatchJobOperationCopy struct + AccessControlGrants *BatchAccessControlGrants + CannedAccessControlList string + MetadataDirective string + ModifiedSinceConstraint int64 + NewObjectMetadata *BatchNewObjectMetadata + StorageClass string + TargetResource string + UnModifiedSinceConstraint int64 + type BatchJobReport struct + Bucket string + Enabled string + Format string + Prefix string + ReportScope string + type BatchListJobs struct + Members []BatchListJobsMember + type BatchListJobsMember struct + CreationTime string + Description string + JobId string + Operation string + Priority int + ProgressSummary *BatchProgressSummary + Status string + TerminationDate string + type BatchListJobsOptions struct + JobStatuses string + MaxResults int + NextToken string + type BatchListJobsResult struct + Jobs *BatchListJobs + NextToken string + XMLName xml.Name + type BatchMetadata struct + Key string + Value string + type BatchNewObjectMetadata struct + CacheControl string + ContentDisposition string + ContentEncoding string + ContentType string + HttpExpiresDate string + SSEAlgorithm string + UserMetadata []BatchMetadata + type BatchProgressSummary struct + NumberOfTasksFailed int + NumberOfTasksSucceeded int + TotalNumberOfTasks int + type BatchRequestHeaders struct + ContentLength string + ContentType string + Headers *http.Header + XCosAppid int + type BatchService service + func (s *BatchService) CreateJob(ctx context.Context, opt *BatchCreateJobOptions, headers *BatchRequestHeaders) (*BatchCreateJobResult, *Response, error) + func (s *BatchService) DescribeJob(ctx context.Context, id string, headers *BatchRequestHeaders) (*BatchDescribeJobResult, *Response, error) + func (s *BatchService) ListJobs(ctx context.Context, opt *BatchListJobsOptions, headers *BatchRequestHeaders) (*BatchListJobsResult, *Response, error) + func (s *BatchService) UpdateJobPriority(ctx context.Context, opt *BatchUpdatePriorityOptions, ...) (*BatchUpdatePriorityResult, *Response, error) + func (s *BatchService) UpdateJobStatus(ctx context.Context, opt *BatchUpdateStatusOptions, ...) (*BatchUpdateStatusResult, *Response, error) + type BatchUpdatePriorityOptions struct + JobId string + Priority int + type BatchUpdatePriorityResult struct + JobId string + Priority int + XMLName xml.Name + type BatchUpdateStatusOptions struct + JobId string + RequestedJobStatus string + StatusUpdateReason string + type BatchUpdateStatusResult struct + JobId string + Status string + StatusUpdateReason string + XMLName xml.Name + type Bucket struct + CreationDate string + Name string + Region string + type BucketCORSRule struct + AllowedHeaders []string + AllowedMethods []string + AllowedOrigins []string + ExposeHeaders []string + ID string + MaxAgeSeconds int + type BucketEncryptionConfiguration struct + SSEAlgorithm string + type BucketGetACLResult = ACLXml + type BucketGetCORSResult struct + Rules []BucketCORSRule + XMLName xml.Name + type BucketGetDomainResult BucketPutDomainOptions + type BucketGetEncryptionResult BucketPutEncryptionOptions + type BucketGetIntelligentTieringResult BucketPutIntelligentTieringOptions + type BucketGetInventoryResult BucketPutInventoryOptions + type BucketGetLifecycleResult struct + Rules []BucketLifecycleRule + XMLName xml.Name + type BucketGetLocationResult struct + Location string + XMLName xml.Name + type BucketGetLoggingResult BucketPutLoggingOptions + type BucketGetObjectVersionsOptions struct + Delimiter string + EncodingType string + KeyMarker string + MaxKeys int + Prefix string + VersionIdMarker string + type BucketGetObjectVersionsResult struct + CommonPrefixes []string + DeleteMarker []ListVersionsResultDeleteMarker + Delimiter string + EncodingType string + IsTruncated bool + KeyMarker string + MaxKeys int + Name string + NextKeyMarker string + NextVersionIdMarker string + Prefix string + Version []ListVersionsResultVersion + VersionIdMarker string + XMLName xml.Name + type BucketGetOptions struct + Delimiter string + EncodingType string + Marker string + MaxKeys int + Prefix string + type BucketGetOriginResult BucketPutOriginOptions + type BucketGetPolicyResult BucketPutPolicyOptions + type BucketGetRefererResult BucketPutRefererOptions + type BucketGetResult struct + CommonPrefixes []string + Contents []Object + Delimiter string + EncodingType string + IsTruncated bool + Marker string + MaxKeys int + Name string + NextMarker string + Prefix string + XMLName xml.Name + type BucketGetTaggingResult struct + TagSet []BucketTaggingTag + XMLName xml.Name + type BucketGetVersionResult BucketPutVersionOptions + type BucketGetWebsiteResult BucketPutWebsiteOptions + type BucketIntelligentTieringTransition struct + Days int + RequestFrequent int + type BucketInventoryDestination struct + AccountId string + Bucket string + Encryption *BucketInventoryEncryption + Format string + Prefix string + type BucketInventoryEncryption struct + SSECOS string + type BucketInventoryFilter struct + Prefix string + type BucketInventoryOptionalFields struct + BucketInventoryFields []string + type BucketInventorySchedule struct + Frequency string + type BucketLifecycleAbortIncompleteMultipartUpload struct + DaysAfterInitiation int + type BucketLifecycleExpiration struct + Date string + Days int + type BucketLifecycleFilter struct + Prefix string + type BucketLifecycleRule struct + AbortIncompleteMultipartUpload *BucketLifecycleAbortIncompleteMultipartUpload + Expiration *BucketLifecycleExpiration + Filter *BucketLifecycleFilter + ID string + Status string + Transition *BucketLifecycleTransition + type BucketLifecycleTransition struct + Date string + Days int + StorageClass string + type BucketListInventoryConfiguartion BucketPutInventoryOptions + type BucketLoggingEnabled struct + TargetBucket string + TargetPrefix string + type BucketOriginCondition struct + HTTPStatusCode string + Prefix string + type BucketOriginFileInfo struct + Prefix string + PrefixDirective bool + Suffix string + type BucketOriginHttpHeader struct + FollowHttpHeaders []OriginHttpHeader + NewHttpHeaders []OriginHttpHeader + type BucketOriginInfo struct + FileInfo *BucketOriginFileInfo + HostInfo string + type BucketOriginParameter struct + CopyOriginData bool + FollowQueryString bool + FollowRedirection bool + HttpHeader *BucketOriginHttpHeader + HttpRedirectCode string + Protocol string + type BucketOriginRule struct + OriginCondition *BucketOriginCondition + OriginInfo *BucketOriginInfo + OriginParameter *BucketOriginParameter + OriginType string + type BucketPutACLOptions struct + Body *ACLXml + Header *ACLHeaderOptions + type BucketPutCORSOptions struct + Rules []BucketCORSRule + XMLName xml.Name + type BucketPutDomainOptions struct + ForcedReplacement string + Name string + Status string + Type string + XMLName xml.Name + type BucketPutEncryptionOptions struct + Rule *BucketEncryptionConfiguration + XMLName xml.Name + type BucketPutIntelligentTieringOptions struct + Status string + Transition *BucketIntelligentTieringTransition + XMLName xml.Name + type BucketPutInventoryOptions struct + Destination *BucketInventoryDestination + Filter *BucketInventoryFilter + ID string + IncludedObjectVersions string + IsEnabled string + OptionalFields *BucketInventoryOptionalFields + Schedule *BucketInventorySchedule + XMLName xml.Name + type BucketPutLifecycleOptions struct + Rules []BucketLifecycleRule + XMLName xml.Name + type BucketPutLoggingOptions struct + LoggingEnabled *BucketLoggingEnabled + XMLName xml.Name + type BucketPutOptions ACLHeaderOptions + type BucketPutOriginOptions struct + Rule []BucketOriginRule + XMLName xml.Name + type BucketPutPolicyOptions struct + Principal map[string][]string + Statement []BucketStatement + Version string + type BucketPutRefererOptions struct + DomainList []string + EmptyReferConfiguration string + RefererType string + Status string + XMLName xml.Name + type BucketPutTaggingOptions struct + TagSet []BucketTaggingTag + XMLName xml.Name + type BucketPutVersionOptions struct + Status string + XMLName xml.Name + type BucketPutWebsiteOptions struct + Error *ErrorDocument + Index string + RedirectProtocol *RedirectRequestsProtocol + RoutingRules *WebsiteRoutingRules + XMLName xml.Name + type BucketReplicationRule struct + Destination *ReplicationDestination + ID string + Prefix string + Status string + type BucketService service + func (s *BucketService) Delete(ctx context.Context) (*Response, error) + func (s *BucketService) DeleteBucketReplication(ctx context.Context) (*Response, error) + func (s *BucketService) DeleteCORS(ctx context.Context) (*Response, error) + func (s *BucketService) DeleteEncryption(ctx context.Context) (*Response, error) + func (s *BucketService) DeleteInventory(ctx context.Context, id string) (*Response, error) + func (s *BucketService) DeleteLifecycle(ctx context.Context) (*Response, error) + func (s *BucketService) DeleteOrigin(ctx context.Context) (*Response, error) + func (s *BucketService) DeletePolicy(ctx context.Context) (*Response, error) + func (s *BucketService) DeleteTagging(ctx context.Context) (*Response, error) + func (s *BucketService) DeleteWebsite(ctx context.Context) (*Response, error) + func (s *BucketService) Get(ctx context.Context, opt *BucketGetOptions) (*BucketGetResult, *Response, error) + func (s *BucketService) GetACL(ctx context.Context) (*BucketGetACLResult, *Response, error) + func (s *BucketService) GetBucketReplication(ctx context.Context) (*GetBucketReplicationResult, *Response, error) + func (s *BucketService) GetCORS(ctx context.Context) (*BucketGetCORSResult, *Response, error) + func (s *BucketService) GetDomain(ctx context.Context) (*BucketGetDomainResult, *Response, error) + func (s *BucketService) GetEncryption(ctx context.Context) (*BucketGetEncryptionResult, *Response, error) + func (s *BucketService) GetIntelligentTiering(ctx context.Context) (*BucketGetIntelligentTieringResult, *Response, error) + func (s *BucketService) GetInventory(ctx context.Context, id string) (*BucketGetInventoryResult, *Response, error) + func (s *BucketService) GetLifecycle(ctx context.Context) (*BucketGetLifecycleResult, *Response, error) + func (s *BucketService) GetLocation(ctx context.Context) (*BucketGetLocationResult, *Response, error) + func (s *BucketService) GetLogging(ctx context.Context) (*BucketGetLoggingResult, *Response, error) + func (s *BucketService) GetObjectVersions(ctx context.Context, opt *BucketGetObjectVersionsOptions) (*BucketGetObjectVersionsResult, *Response, error) + func (s *BucketService) GetOrigin(ctx context.Context) (*BucketGetOriginResult, *Response, error) + func (s *BucketService) GetPolicy(ctx context.Context) (*BucketGetPolicyResult, *Response, error) + func (s *BucketService) GetReferer(ctx context.Context) (*BucketGetRefererResult, *Response, error) + func (s *BucketService) GetTagging(ctx context.Context) (*BucketGetTaggingResult, *Response, error) + func (s *BucketService) GetVersioning(ctx context.Context) (*BucketGetVersionResult, *Response, error) + func (s *BucketService) GetWebsite(ctx context.Context) (*BucketGetWebsiteResult, *Response, error) + func (s *BucketService) Head(ctx context.Context) (*Response, error) + func (s *BucketService) ListInventoryConfigurations(ctx context.Context, token string) (*ListBucketInventoryConfigResult, *Response, error) + func (s *BucketService) ListMultipartUploads(ctx context.Context, opt *ListMultipartUploadsOptions) (*ListMultipartUploadsResult, *Response, error) + func (s *BucketService) Put(ctx context.Context, opt *BucketPutOptions) (*Response, error) + func (s *BucketService) PutACL(ctx context.Context, opt *BucketPutACLOptions) (*Response, error) + func (s *BucketService) PutBucketReplication(ctx context.Context, opt *PutBucketReplicationOptions) (*Response, error) + func (s *BucketService) PutCORS(ctx context.Context, opt *BucketPutCORSOptions) (*Response, error) + func (s *BucketService) PutDomain(ctx context.Context, opt *BucketPutDomainOptions) (*Response, error) + func (s *BucketService) PutEncryption(ctx context.Context, opt *BucketPutEncryptionOptions) (*Response, error) + func (s *BucketService) PutIntelligentTiering(ctx context.Context, opt *BucketPutIntelligentTieringOptions) (*Response, error) + func (s *BucketService) PutInventory(ctx context.Context, id string, opt *BucketPutInventoryOptions) (*Response, error) + func (s *BucketService) PutLifecycle(ctx context.Context, opt *BucketPutLifecycleOptions) (*Response, error) + func (s *BucketService) PutLogging(ctx context.Context, opt *BucketPutLoggingOptions) (*Response, error) + func (s *BucketService) PutOrigin(ctx context.Context, opt *BucketPutOriginOptions) (*Response, error) + func (s *BucketService) PutPolicy(ctx context.Context, opt *BucketPutPolicyOptions) (*Response, error) + func (s *BucketService) PutReferer(ctx context.Context, opt *BucketPutRefererOptions) (*Response, error) + func (s *BucketService) PutTagging(ctx context.Context, opt *BucketPutTaggingOptions) (*Response, error) + func (s *BucketService) PutVersioning(ctx context.Context, opt *BucketPutVersionOptions) (*Response, error) + func (s *BucketService) PutWebsite(ctx context.Context, opt *BucketPutWebsiteOptions) (*Response, error) + type BucketStatement struct + Action []string + Condition map[string]map[string]interface{} + Effect string + Principal map[string][]string + Resource []string + type BucketTaggingTag struct + Key string + Value string + type CASJobParameters struct + Tier string + type CIService service + func (s *CIService) CreateDocProcessJobs(ctx context.Context, opt *CreateDocProcessJobsOptions) (*CreateDocProcessJobsResult, *Response, error) + func (s *CIService) DescribeDocProcessBuckets(ctx context.Context, opt *DescribeDocProcessBucketsOptions) (*DescribeDocProcessBucketsResult, *Response, error) + func (s *CIService) DescribeDocProcessJob(ctx context.Context, jobid string) (*DescribeDocProcessJobResult, *Response, error) + func (s *CIService) DescribeDocProcessJobs(ctx context.Context, opt *DescribeDocProcessJobsOptions) (*DescribeDocProcessJobsResult, *Response, error) + func (s *CIService) DescribeDocProcessQueues(ctx context.Context, opt *DescribeDocProcessQueuesOptions) (*DescribeDocProcessQueuesResult, *Response, error) + func (s *CIService) DocPreview(ctx context.Context, name string, opt *DocPreviewOptions) (*Response, error) + func (s *CIService) GetVideoAuditingJob(ctx context.Context, jobid string) (*GetVideoAuditingJobResult, *Response, error) + func (s *CIService) ImageProcess(ctx context.Context, name string, opt *ImageProcessOptions) (*ImageProcessResult, *Response, error) + func (s *CIService) ImageRecognition(ctx context.Context, name string, opt *ImageRecognitionOptions) (*ImageRecognitionResult, *Response, error) + func (s *CIService) PutVideoAuditingJob(ctx context.Context, opt *PutVideoAuditingJobOptions) (*PutVideoAuditingJobResult, *Response, error) + func (s *CIService) UpdateDocProcessQueue(ctx context.Context, opt *UpdateDocProcessQueueOptions) (*UpdateDocProcessQueueResult, *Response, error) + type CSVInputSerialization struct + AllowQuotedRecordDelimiter string + Comments string + FieldDelimiter string + FileHeaderInfo string + QuoteCharacter string + QuoteEscapeCharacter string + RecordDelimiter string + type CSVOutputSerialization struct + FieldDelimiter string + QuoteCharacter string + QuoteEscapeCharacter string + QuoteFileds string + RecordDelimiter string + type Chunk struct + Done bool + ETag string + Number int + OffSet int64 + Size int64 + func SplitFileIntoChunks(filePath string, partSize int64) (int64, []Chunk, int, error) + type Client struct + BaseURL *BaseURL + Batch *BatchService + Bucket *BucketService + CI *CIService + Host string + Object *ObjectService + Service *ServiceService + UserAgent string + func NewClient(uri *BaseURL, httpClient *http.Client) *Client + type CompleteMultipartUploadOptions struct + Parts []Object + XMLName xml.Name + XOptionHeader *http.Header + type CompleteMultipartUploadResult struct + Bucket string + ETag string + Key string + Location string + XMLName xml.Name + type CopyPartResult struct + ETag string + LastModified string + XMLName xml.Name + type CreateDocProcessJobsOptions struct + Input *DocProcessJobInput + Operation *DocProcessJobOperation + QueueId string + Tag string + XMLName xml.Name + type CreateDocProcessJobsResult struct + JobsDetail DocProcessJobDetail + XMLName xml.Name + type DataFrame struct + ConsumedBytesLength int32 + ContentType string + LeftBytesLength int32 + type DefaultProgressListener struct + func (l *DefaultProgressListener) ProgressChangedCallback(event *ProgressEvent) + type DescribeDocProcessBucketsOptions struct + BucketName string + BucketNames string + PageNumber int + PageSize int + Regions string + type DescribeDocProcessBucketsResult struct + DocBucketList []DocProcessBucket + PageNumber int + PageSize int + RequestId string + TotalCount int + XMLName xml.Name + type DescribeDocProcessJobResult struct + JobsDetail *DocProcessJobDetail + NonExistJobIds string + XMLName xml.Name + type DescribeDocProcessJobsOptions struct + EndCreationTime string + NextToken string + OrderByTime string + QueueId string + Size int + StartCreationTime string + States string + Tag string + type DescribeDocProcessJobsResult struct + JobsDetail []DocProcessJobDetail + NextToken string + XMLName xml.Name + type DescribeDocProcessQueuesOptions struct + PageNumber int + PageSize int + QueueIds string + State string + type DescribeDocProcessQueuesResult struct + NonExistPIDs []string + PageNumber int + PageSize int + QueueList []DocProcessQueue + RequestId string + TotalCount int + XMLName xml.Name + type DocPreviewOptions struct + Comment int + DstType string + ExcelPaperDirection int + ImageParams string + Page int + Password string + Quality int + Sheet int + SrcType string + Zoom int + type DocProcessBucket struct + AliasBucketId string + BucketId string + CreateTime string + Name string + Region string + type DocProcessJobDetail struct + Code string + CreationTime string + Input *DocProcessJobInput + JobId string + Message string + Operation *DocProcessJobOperation + QueueId string + State string + Tag string + type DocProcessJobDocProcess struct + Comments int + DocPassword string + EndPage int + ImageParams string + PaperDirection int + Quality int + SheetId int + SrcType string + StartPage int + TgtType string + Zoom int + type DocProcessJobDocProcessResult struct + FailPageCount int + PageInfo struct{ ... } + SuccPageCount int + TaskId string + TgtType string + TotalPageCount int + type DocProcessJobInput struct + Object string + type DocProcessJobOperation struct + DocProcess *DocProcessJobDocProcess + DocProcessResult *DocProcessJobDocProcessResult + Output *DocProcessJobOutput + type DocProcessJobOutput struct + Bucket string + Object string + Region string + type DocProcessQueue struct + CreateTime string + MaxConcurrent int + MaxSize int + Name string + NotifyConfig *DocProcessQueueNotifyConfig + QueueId string + State string + UpdateTime string + type DocProcessQueueNotifyConfig struct + Event string + State string + Type string + Url string + type ErrorDocument struct + Key string + type ErrorFrame struct + Code string + Message string + func (e *ErrorFrame) Error() string + type ErrorResponse struct + Code string + Message string + RequestID string + Resource string + Response *http.Response + TraceID string + XMLName xml.Name + func IsCOSError(e error) (*ErrorResponse, bool) + func (r *ErrorResponse) Error() string + type FixedLengthReader interface + Size func() int64 + type GetBucketReplicationResult PutBucketReplicationOptions + type GetVideoAuditingJobResult struct + JobsDetail *VideoAuditingJobDetail + NonExistJobIds string + XMLName xml.Name + type GetVideoAuditingJobSnapshot struct + AdsInfo *RecognitionInfo + PoliticsInfo *RecognitionInfo + PornInfo *RecognitionInfo + TerrorismInfo *RecognitionInfo + Url string + type ImageProcessOptions = PicOperations + type ImageProcessResult struct + OriginalInfo *PicOriginalInfo + ProcessObject *PicProcessObject + XMLName xml.Name + type ImageRecognitionOptions struct + CIProcess string + DetectType string + type ImageRecognitionResult struct + AdsInfo *RecognitionInfo + PoliticsInfo *RecognitionInfo + PornInfo *RecognitionInfo + TerroristInfo *RecognitionInfo + XMLName xml.Name + type InitiateMultipartUploadOptions struct + type InitiateMultipartUploadResult struct + Bucket string + Key string + UploadID string + XMLName xml.Name + type Initiator Owner + type JSONInputSerialization struct + Type string + type JSONOutputSerialization struct + RecordDelimiter string + type Jobs struct + Chunk Chunk + Data io.Reader + FilePath string + Name string + Opt *ObjectUploadPartOptions + RetryTimes int + UploadId string + type ListBucketInventoryConfigResult struct + ContinuationToken string + InventoryConfigurations []BucketListInventoryConfiguartion + IsTruncated bool + NextContinuationToken string + XMLName xml.Name + type ListMultipartUploadsOptions struct + Delimiter string + EncodingType string + KeyMarker string + MaxUploads int + Prefix string + UploadIDMarker string + type ListMultipartUploadsResult struct + Bucket string + CommonPrefixes []string + Delimiter string + EncodingType string + IsTruncated bool + KeyMarker string + MaxUploads int + NextKeyMarker string + NextUploadIDMarker string + Prefix string + UploadIDMarker string + Uploads []struct{ ... } + XMLName xml.Name + type ListUploadsResultUpload struct + Initiated string + Initiator *Initiator + Key string + Owner *Owner + StorageClass string + UploadID string + type ListVersionsResultDeleteMarker struct + IsLatest bool + Key string + LastModified string + Owner *Owner + VersionId string + type ListVersionsResultVersion struct + ETag string + IsLatest bool + Key string + LastModified string + Owner *Owner + Size int + StorageClass string + VersionId string + type MultiUploadOptions struct + CheckPoint bool + OptIni *InitiateMultipartUploadOptions + PartSize int64 + ThreadPoolSize int + type Object struct + ETag string + Key string + LastModified string + Owner *Owner + PartNumber int + Size int + StorageClass string + VersionId string + type ObjectCopyHeaderOptions struct + CacheControl string + ContentDisposition string + ContentEncoding string + ContentLanguage string + ContentType string + Expect string + Expires string + XCosCopySource string + XCosCopySourceIfMatch string + XCosCopySourceIfModifiedSince string + XCosCopySourceIfNoneMatch string + XCosCopySourceIfUnmodifiedSince string + XCosCopySourceSSECustomerAglo string + XCosCopySourceSSECustomerKey string + XCosCopySourceSSECustomerKeyMD5 string + XCosMetaXXX *http.Header + XCosMetadataDirective string + XCosSSECustomerAglo string + XCosSSECustomerKey string + XCosSSECustomerKeyMD5 string + XCosServerSideEncryption string + XCosStorageClass string + XOptionHeader *http.Header + type ObjectCopyOptions struct + type ObjectCopyPartOptions struct + XCosCopySource string + XCosCopySourceIfMatch string + XCosCopySourceIfModifiedSince string + XCosCopySourceIfNoneMatch string + XCosCopySourceIfUnmodifiedSince string + XCosCopySourceRange string + type ObjectCopyResult struct + ETag string + LastModified string + XMLName xml.Name + type ObjectDeleteMultiOptions struct + Objects []Object + Quiet bool + XMLName xml.Name + type ObjectDeleteMultiResult struct + DeletedObjects []Object + Errors []struct{ ... } + XMLName xml.Name + type ObjectDeleteOptions struct + VersionId string + XCosSSECustomerAglo string + XCosSSECustomerKey string + XCosSSECustomerKeyMD5 string + XOptionHeader *http.Header + type ObjectGetACLResult = ACLXml + type ObjectGetOptions struct + IfModifiedSince string + Listener ProgressListener + Range string + ResponseCacheControl string + ResponseContentDisposition string + ResponseContentEncoding string + ResponseContentLanguage string + ResponseContentType string + ResponseExpires string + XCosSSECustomerAglo string + XCosSSECustomerKey string + XCosSSECustomerKeyMD5 string + XCosTrafficLimit int + type ObjectGetTaggingResult ObjectPutTaggingOptions + type ObjectHeadOptions struct + IfModifiedSince string + XCosSSECustomerAglo string + XCosSSECustomerKey string + XCosSSECustomerKeyMD5 string + type ObjectList []Object + func (o ObjectList) Len() int + func (o ObjectList) Less(i, j int) bool + func (o ObjectList) Swap(i, j int) + type ObjectListPartsOptions struct + EncodingType string + MaxParts string + PartNumberMarker string + type ObjectListPartsResult struct + Bucket string + EncodingType string + Initiator *Initiator + IsTruncated bool + Key string + MaxParts string + NextPartNumberMarker string + Owner *Owner + PartNumberMarker string + Parts []Object + StorageClass string + UploadID string + XMLName xml.Name + type ObjectListUploadsOptions struct + Delimiter string + EncodingType string + KeyMarker string + MaxUploads int + Prefix string + UploadIdMarker string + type ObjectListUploadsResult struct + Bucket string + CommonPrefixes []string + Delimiter string + EncodingType string + IsTruncated bool + KeyMarker string + MaxUploads string + NextKeyMarker string + NextUploadIdMarker string + Prefix string + Upload []ListUploadsResultUpload + UploadIdMarker string + XMLName xml.Name + type ObjectOptionsOptions struct + AccessControlRequestHeaders string + AccessControlRequestMethod string + Origin string + type ObjectPutACLOptions struct + Body *ACLXml + Header *ACLHeaderOptions + type ObjectPutHeaderOptions struct + CacheControl string + ContentDisposition string + ContentEncoding string + ContentLanguage string + ContentLength int + ContentMD5 string + ContentType string + Expect string + Expires string + Listener ProgressListener + XCosContentSHA1 string + XCosMetaXXX *http.Header + XCosSSECustomerAglo string + XCosSSECustomerKey string + XCosSSECustomerKeyMD5 string + XCosServerSideEncryption string + XCosStorageClass string + XCosTrafficLimit int + XOptionHeader *http.Header + type ObjectPutOptions struct + type ObjectPutTaggingOptions struct + TagSet []ObjectTaggingTag + XMLName xml.Name + type ObjectRestoreOptions struct + Days int + Tier *CASJobParameters + XMLName xml.Name + type ObjectSelectOptions struct + Expression string + ExpressionType string + InputSerialization *SelectInputSerialization + OutputSerialization *SelectOutputSerialization + RequestProgress string + XMLName xml.Name + type ObjectSelectResponse struct + Body io.ReadCloser + Finish bool + Frame *ObjectSelectResult + Headers http.Header + StatusCode int + func (osr *ObjectSelectResponse) Close() error + func (osr *ObjectSelectResponse) Read(p []byte) (n int, err error) + type ObjectSelectResult struct + DataFrame DataFrame + ErrorFrame *ErrorFrame + FrameType int + NextFrame bool + Payload []byte + ProgressFrame ProgressFrame + StatsFrame StatsFrame + TotalFrameLength int32 + TotalHeaderLength int32 + type ObjectService service + func (s *ObjectService) AbortMultipartUpload(ctx context.Context, name, uploadID string) (*Response, error) + func (s *ObjectService) CompleteMultipartUpload(ctx context.Context, name, uploadID string, ...) (*CompleteMultipartUploadResult, *Response, error) + func (s *ObjectService) Copy(ctx context.Context, name, sourceURL string, opt *ObjectCopyOptions, ...) (*ObjectCopyResult, *Response, error) + func (s *ObjectService) CopyPart(ctx context.Context, name, uploadID string, partNumber int, sourceURL string, ...) (*CopyPartResult, *Response, error) + func (s *ObjectService) Delete(ctx context.Context, name string, opt ...*ObjectDeleteOptions) (*Response, error) + func (s *ObjectService) DeleteMulti(ctx context.Context, opt *ObjectDeleteMultiOptions) (*ObjectDeleteMultiResult, *Response, error) + func (s *ObjectService) DeleteTagging(ctx context.Context, name string, id ...string) (*Response, error) + func (s *ObjectService) Get(ctx context.Context, name string, opt *ObjectGetOptions, id ...string) (*Response, error) + func (s *ObjectService) GetACL(ctx context.Context, name string) (*ObjectGetACLResult, *Response, error) + func (s *ObjectService) GetPresignedURL(ctx context.Context, httpMethod, name, ak, sk string, expired time.Duration, ...) (*url.URL, error) + func (s *ObjectService) GetTagging(ctx context.Context, name string, id ...string) (*ObjectGetTaggingResult, *Response, error) + func (s *ObjectService) GetToFile(ctx context.Context, name, localpath string, opt *ObjectGetOptions, ...) (*Response, error) + func (s *ObjectService) Head(ctx context.Context, name string, opt *ObjectHeadOptions, id ...string) (*Response, error) + func (s *ObjectService) InitiateMultipartUpload(ctx context.Context, name string, opt *InitiateMultipartUploadOptions) (*InitiateMultipartUploadResult, *Response, error) + func (s *ObjectService) ListParts(ctx context.Context, name, uploadID string, opt *ObjectListPartsOptions) (*ObjectListPartsResult, *Response, error) + func (s *ObjectService) ListUploads(ctx context.Context, opt *ObjectListUploadsOptions) (*ObjectListUploadsResult, *Response, error) + func (s *ObjectService) MultiUpload(ctx context.Context, name string, filepath string, opt *MultiUploadOptions) (*CompleteMultipartUploadResult, *Response, error) + func (s *ObjectService) Options(ctx context.Context, name string, opt *ObjectOptionsOptions) (*Response, error) + func (s *ObjectService) PostRestore(ctx context.Context, name string, opt *ObjectRestoreOptions) (*Response, error) + func (s *ObjectService) Put(ctx context.Context, name string, r io.Reader, opt *ObjectPutOptions) (*Response, error) + func (s *ObjectService) PutACL(ctx context.Context, name string, opt *ObjectPutACLOptions) (*Response, error) + func (s *ObjectService) PutFromFile(ctx context.Context, name string, filePath string, opt *ObjectPutOptions) (*Response, error) + func (s *ObjectService) PutTagging(ctx context.Context, name string, opt *ObjectPutTaggingOptions, id ...string) (*Response, error) + func (s *ObjectService) Select(ctx context.Context, name string, opt *ObjectSelectOptions) (io.ReadCloser, error) + func (s *ObjectService) SelectToFile(ctx context.Context, name, file string, opt *ObjectSelectOptions) (*ObjectSelectResponse, error) + func (s *ObjectService) Upload(ctx context.Context, name string, filepath string, opt *MultiUploadOptions) (*CompleteMultipartUploadResult, *Response, error) + func (s *ObjectService) UploadPart(ctx context.Context, name, uploadID string, partNumber int, r io.Reader, ...) (*Response, error) + type ObjectTaggingTag BucketTaggingTag + type ObjectUploadPartOptions struct + ContentLength int + Expect string + Listener ProgressListener + XCosContentSHA1 string + XCosSSECustomerAglo string + XCosSSECustomerKey string + XCosSSECustomerKeyMD5 string + XCosTrafficLimit int + type OriginHttpHeader struct + Key string + Value string + type Owner struct + DisplayName string + ID string + UIN string + type PicImageInfo struct + Format string + Height int + Quality int + Size int + Width int + type PicOperations struct + IsPicInfo int + Rules []PicOperationsRules + type PicOperationsRules struct + Bucket string + FileId string + Rule string + type PicOriginalInfo struct + ImageInfo *PicImageInfo + Key string + Location string + type PicProcessObject struct + Format string + Height int + Key string + Location string + Quality int + Size int + WatermarkStatus int + Width int + type ProgressEvent struct + ConsumedBytes int64 + Err error + EventType ProgressEventType + RWBytes int64 + TotalBytes int64 + type ProgressEventType int + const ProgressCompletedEvent + const ProgressDataEvent + const ProgressFailedEvent + const ProgressStartedEvent + type ProgressFrame struct + BytesProcessed int + BytesReturned int + BytesScanned int + XMLName xml.Name + type ProgressListener interface + ProgressChangedCallback func(event *ProgressEvent) + type PutBucketReplicationOptions struct + Role string + Rule []BucketReplicationRule + XMLName xml.Name + type PutVideoAuditingJobOptions struct + Conf *VideoAuditingJobConf + InputObject string + XMLName xml.Name + type PutVideoAuditingJobResult struct + JobsDetail struct{ ... } + XMLName xml.Name + type PutVideoAuditingJobSnapshot struct + Count int + Mode string + Start float32 + TimeInterval float32 + type RecognitionInfo struct + Code int + Count int + HitFlag int + Label string + Msg string + Score int + type RedirectRequestsProtocol struct + Protocol string + type ReplicationDestination struct + Bucket string + StorageClass string + type Response struct + type Results struct + PartNumber int + Resp *Response + type SelectInputSerialization struct + CSV *CSVInputSerialization + CompressionType string + JSON *JSONInputSerialization + type SelectOutputSerialization struct + CSV *CSVOutputSerialization + JSON *JSONOutputSerialization + type ServiceGetResult struct + Buckets []Bucket + Owner *Owner + XMLName xml.Name + type ServiceService service + func (s *ServiceService) Get(ctx context.Context) (*ServiceGetResult, *Response, error) + type StatsFrame struct + BytesProcessed int + BytesReturned int + BytesScanned int + XMLName xml.Name + type UpdateDocProcessQueueOptions struct + Name string + NotifyConfig *DocProcessQueueNotifyConfig + QueueID string + State string + XMLName xml.Name + type UpdateDocProcessQueueResult struct + Queue *DocProcessQueue + RequestId string + XMLName xml.Name + type VideoAuditingJobConf struct + Callback string + DetectType string + Snapshot *PutVideoAuditingJobSnapshot + type VideoAuditingJobDetail struct + AdsInfo *RecognitionInfo + Code string + CreationTime string + JobId string + Message string + Object string + PoliticsInfo *RecognitionInfo + PornInfo *RecognitionInfo + Result int + Snapshot *GetVideoAuditingJobSnapshot + SnapshotCount string + State string + TerrorismInfo *RecognitionInfo + type WebsiteRoutingRule struct + ConditionErrorCode string + ConditionPrefix string + RedirectProtocol string + RedirectReplaceKey string + RedirectReplaceKeyPrefix string + type WebsiteRoutingRules struct + Rules []WebsiteRoutingRule