Versions in this module Expand all Collapse all v1 v1.0.0 Sep 26, 2024 Changes in this version + const CheckpointFileSuffix + const ContinuousFrameType + const DataFrameType + const Debug + const DefaultContentSha256 + const EndFrameType + const Error + const FilePermMode + const HTTPHeaderACReqHeaders + const HTTPHeaderACReqMethod + const HTTPHeaderAcceptEncoding + const HTTPHeaderAllowSameActionOverLap + const HTTPHeaderAuthorization + const HTTPHeaderCacheControl + const HTTPHeaderContentDisposition + const HTTPHeaderContentEncoding + const HTTPHeaderContentLanguage + const HTTPHeaderContentLength + const HTTPHeaderContentMD5 + const HTTPHeaderContentType + const HTTPHeaderDate + const HTTPHeaderEtag + const HTTPHeaderExpires + const HTTPHeaderHost + const HTTPHeaderIfMatch + const HTTPHeaderIfModifiedSince + const HTTPHeaderIfNoneMatch + const HTTPHeaderIfUnmodifiedSince + const HTTPHeaderLastModified + const HTTPHeaderLocation + const HTTPHeaderOrigin + const HTTPHeaderOssACL + const HTTPHeaderOssCRC64 + const HTTPHeaderOssCallback + const HTTPHeaderOssCallbackVar + const HTTPHeaderOssCopySource + const HTTPHeaderOssCopySourceIfMatch + const HTTPHeaderOssCopySourceIfModifiedSince + const HTTPHeaderOssCopySourceIfNoneMatch + const HTTPHeaderOssCopySourceIfUnmodifiedSince + const HTTPHeaderOssCopySourceRange + const HTTPHeaderOssEc + const HTTPHeaderOssErr + const HTTPHeaderOssForbidOverWrite + const HTTPHeaderOssHashCtx + const HTTPHeaderOssMd5Ctx + const HTTPHeaderOssMetaPrefix + const HTTPHeaderOssMetadataDirective + const HTTPHeaderOssNextAppendPosition + const HTTPHeaderOssObjectACL + const HTTPHeaderOssRangeBehavior + const HTTPHeaderOssRequestID + const HTTPHeaderOssRequester + const HTTPHeaderOssSecurityToken + const HTTPHeaderOssServerSideDataEncryption + const HTTPHeaderOssServerSideEncryption + const HTTPHeaderOssServerSideEncryptionKeyID + const HTTPHeaderOssStorageClass + const HTTPHeaderOssSymlinkTarget + const HTTPHeaderOssTagging + const HTTPHeaderOssTaggingDirective + const HTTPHeaderOssTaskID + const HTTPHeaderOssTrafficLimit + const HTTPHeaderRange + const HTTPHeaderSSECAlgorithm + const HTTPHeaderSSECKey + const HTTPHeaderSSECKeyMd5 + const HTTPHeaderServer + const HTTPHeaderUserAgent + const HTTPParamAccessKeyID + const HTTPParamAccessKeyIDV2 + const HTTPParamAdditionalHeadersV2 + const HTTPParamCredential + const HTTPParamDate + const HTTPParamExpires + const HTTPParamExpiresV2 + const HTTPParamOssSecurityToken + const HTTPParamPlaylistName + const HTTPParamSecurityToken + const HTTPParamSignature + const HTTPParamSignatureV2 + const HTTPParamSignatureVersion + const HttpHeaderOssContentSha256 + const HttpHeaderOssDate + const HttpHeaderOssNotification + const Info + const LogOff + const MaxPartSize + const MetaEndFrameCSVType + const MetaEndFrameJSONType + const MinPartSize + const NullVersion + const TempFilePrefix + const TempFileSuffix + const Version + const Warn + var CrcTable = func() *crc64.Table + var LogTag = []string + func AdjustRange(ur *UnpackedRange, size int64) (start, end int64) + func CRC64Combine(crc1 uint64, crc2 uint64, len2 uint64) uint64 + func CheckBucketName(bucketName string) error + func CheckCRC(resp *Response, operation string) error + func CheckCallbackResp(resp *Response) error + func CheckDownloadCRC(clientCRC, serverCRC uint64) error + func CheckObjectName(objectName string) error + func CheckObjectNameEx(objectName string, strict bool) error + func CheckRespCode(respCode int, allowed []int) error + func ConvertEmptyValueToNil(params map[string]interface{}, keys []string) + func EscapeLFString(str string) string + func EscapeXml(s string) string + func FindOption(options []Option, param string, defaultVal interface{}) (interface{}, error) + func GetCallbackBody(options []Option, resp *Response, callbackSet bool) error + func GetCopySrcVersionId(header http.Header) string + func GetDeleteMark(header http.Header) bool + func GetNowGMT() string + func GetNowNanoSec() int64 + func GetNowSec() int64 + func GetPartEnd(begin int64, total int64, per int64) int64 + func GetQosDelayTime(header http.Header) string + func GetRangeString(unpackRange UnpackedRange) string + func GetRawParams(options []Option) (map[string]interface{}, error) + func GetReaderLen(reader io.Reader) (int64, error) + func GetRequestId(header http.Header) string + func GetVersionId(header http.Header) string + func InvalidRangeError(r string) error + func IsOptionSet(options []Option, option string) (bool, interface{}, error) + func LimitReadCloser(r io.Reader, n int64) io.Reader + func NewCRC(tab *crc64.Table, init uint64) hash.Hash64 + func TeeReader(reader io.Reader, writer io.Writer, totalBytes int64, ...) io.ReadCloser + func TypeByExtension(filePath string) string + type ACLType string + const ACLDefault + const ACLPrivate + const ACLPublicRead + const ACLPublicReadWrite + type AlgorithmType string + const AESAlgorithm + const KMSAlgorithm + const SM4Algorithm + type AppendObjectRequest struct + ObjectKey string + Position int64 + Reader io.Reader + type AppendObjectResult struct + CRC uint64 + NextPosition int64 + type AsynFetchTaskInfo struct + ErrorMsg string + State string + TaskId string + TaskInfo AsyncTaskInfo + XMLName xml.Name + type AsyncFetchTaskConfiguration struct + Callback string + ContentMD5 string + Host string + IgnoreSameKey bool + Object string + StorageClass string + Url string + XMLName xml.Name + type AsyncFetchTaskResult struct + TaskId string + XMLName xml.Name + type AsyncProcessObjectResult struct + EventId string + RequestId string + TaskId string + type AsyncTaskInfo struct + Callback string + ContentMD5 string + Host string + IgnoreSameKey bool + Object string + StorageClass string + Url string + XMLName xml.Name + type AuthVersionType string + const AuthV1 + const AuthV2 + const AuthV4 + type Bucket struct + BucketName string + Client Client + func (bucket Bucket) AbortMultipartUpload(imur InitiateMultipartUploadResult, options ...Option) error + func (bucket Bucket) AppendObject(objectKey string, reader io.Reader, appendPosition int64, options ...Option) (int64, error) + func (bucket Bucket) AsyncProcessObject(objectKey string, asyncProcess string, options ...Option) (AsyncProcessObjectResult, error) + func (bucket Bucket) CompleteMultipartUpload(imur InitiateMultipartUploadResult, parts []UploadPart, options ...Option) (CompleteMultipartUploadResult, error) + func (bucket Bucket) CopyFile(srcBucketName, srcObjectKey, destObjectKey string, partSize int64, ...) error + func (bucket Bucket) CopyObject(srcObjectKey, destObjectKey string, options ...Option) (CopyObjectResult, error) + func (bucket Bucket) CopyObjectFrom(srcBucketName, srcObjectKey, destObjectKey string, options ...Option) (CopyObjectResult, error) + func (bucket Bucket) CopyObjectTo(destBucketName, destObjectKey, srcObjectKey string, options ...Option) (CopyObjectResult, error) + func (bucket Bucket) CreateLiveChannel(channelName string, config LiveChannelConfiguration) (CreateLiveChannelResult, error) + func (bucket Bucket) CreateSelectCsvObjectMeta(key string, csvMeta CsvMetaRequest, options ...Option) (MetaEndFrameCSV, error) + func (bucket Bucket) CreateSelectJsonObjectMeta(key string, jsonMeta JsonMetaRequest, options ...Option) (MetaEndFrameJSON, error) + func (bucket Bucket) DeleteLiveChannel(channelName string) error + func (bucket Bucket) DeleteMultipleObjectsXml(xmlData string, options ...Option) (string, error) + func (bucket Bucket) DeleteObject(objectKey string, options ...Option) error + func (bucket Bucket) DeleteObjectTagging(objectKey string, options ...Option) error + func (bucket Bucket) DeleteObjectVersions(objectVersions []DeleteObject, options ...Option) (DeleteObjectVersionsResult, error) + func (bucket Bucket) DeleteObjects(objectKeys []string, options ...Option) (DeleteObjectsResult, error) + func (bucket Bucket) Do(method, objectName string, params map[string]interface{}, options []Option, ...) (*Response, error) + func (bucket Bucket) DoAppendObject(request *AppendObjectRequest, options []Option) (*AppendObjectResult, error) + func (bucket Bucket) DoGetObject(request *GetObjectRequest, options []Option) (*GetObjectResult, error) + func (bucket Bucket) DoGetObjectWithURL(signedURL string, options []Option) (*GetObjectResult, error) + func (bucket Bucket) DoPostSelectObject(key string, params map[string]interface{}, buf *bytes.Buffer, ...) (*SelectObjectResponse, error) + func (bucket Bucket) DoPutObject(request *PutObjectRequest, options []Option) (*Response, error) + func (bucket Bucket) DoPutObjectWithURL(signedURL string, reader io.Reader, options []Option) (*Response, error) + func (bucket Bucket) DoUploadPart(request *UploadPartRequest, options []Option) (*UploadPartResult, error) + func (bucket Bucket) DownloadFile(objectKey, filePath string, partSize int64, options ...Option) error + func (bucket Bucket) GetConfig() *Config + func (bucket Bucket) GetLiveChannelHistory(channelName string) (LiveChannelHistory, error) + func (bucket Bucket) GetLiveChannelInfo(channelName string) (LiveChannelConfiguration, error) + func (bucket Bucket) GetLiveChannelStat(channelName string) (LiveChannelStat, error) + func (bucket Bucket) GetObject(objectKey string, options ...Option) (io.ReadCloser, error) + func (bucket Bucket) GetObjectACL(objectKey string, options ...Option) (GetObjectACLResult, error) + func (bucket Bucket) GetObjectDetailedMeta(objectKey string, options ...Option) (http.Header, error) + func (bucket Bucket) GetObjectMeta(objectKey string, options ...Option) (http.Header, error) + func (bucket Bucket) GetObjectTagging(objectKey string, options ...Option) (GetObjectTaggingResult, error) + func (bucket Bucket) GetObjectToFile(objectKey, filePath string, options ...Option) error + func (bucket Bucket) GetObjectToFileWithURL(signedURL, filePath string, options ...Option) error + func (bucket Bucket) GetObjectWithURL(signedURL string, options ...Option) (io.ReadCloser, error) + func (bucket Bucket) GetSymlink(objectKey string, options ...Option) (http.Header, error) + func (bucket Bucket) GetVodPlaylist(channelName string, startTime, endTime time.Time) (io.ReadCloser, error) + func (bucket Bucket) InitiateMultipartUpload(objectKey string, options ...Option) (InitiateMultipartUploadResult, error) + func (bucket Bucket) IsObjectExist(objectKey string, options ...Option) (bool, error) + func (bucket Bucket) ListLiveChannel(options ...Option) (ListLiveChannelResult, error) + func (bucket Bucket) ListMultipartUploads(options ...Option) (ListMultipartUploadResult, error) + func (bucket Bucket) ListObjectVersions(options ...Option) (ListObjectVersionsResult, error) + func (bucket Bucket) ListObjects(options ...Option) (ListObjectsResult, error) + func (bucket Bucket) ListObjectsV2(options ...Option) (ListObjectsResultV2, error) + func (bucket Bucket) ListUploadedParts(imur InitiateMultipartUploadResult, options ...Option) (ListUploadedPartsResult, error) + func (bucket Bucket) OptionsMethod(objectKey string, options ...Option) (http.Header, error) + func (bucket Bucket) PostVodPlaylist(channelName, playlistName string, startTime, endTime time.Time) error + func (bucket Bucket) ProcessObject(objectKey string, process string, options ...Option) (ProcessObjectResult, error) + func (bucket Bucket) PutLiveChannelStatus(channelName, status string) error + func (bucket Bucket) PutObject(objectKey string, reader io.Reader, options ...Option) error + func (bucket Bucket) PutObjectFromFile(objectKey, filePath string, options ...Option) error + func (bucket Bucket) PutObjectFromFileWithURL(signedURL, filePath string, options ...Option) error + func (bucket Bucket) PutObjectTagging(objectKey string, tagging Tagging, options ...Option) error + func (bucket Bucket) PutObjectWithURL(signedURL string, reader io.Reader, options ...Option) error + func (bucket Bucket) PutSymlink(symObjectKey string, targetObjectKey string, options ...Option) error + func (bucket Bucket) RestoreObject(objectKey string, options ...Option) error + func (bucket Bucket) RestoreObjectDetail(objectKey string, restoreConfig RestoreConfiguration, options ...Option) error + func (bucket Bucket) RestoreObjectXML(objectKey, configXML string, options ...Option) error + func (bucket Bucket) SelectObject(key string, selectReq SelectRequest, options ...Option) (io.ReadCloser, error) + func (bucket Bucket) SelectObjectIntoFile(key, fileName string, selectReq SelectRequest, options ...Option) error + func (bucket Bucket) SetObjectACL(objectKey string, objectACL ACLType, options ...Option) error + func (bucket Bucket) SetObjectMeta(objectKey string, options ...Option) error + func (bucket Bucket) SignRtmpURL(channelName, playlistName string, expires int64) (string, error) + func (bucket Bucket) SignURL(objectKey string, method HTTPMethod, expiredInSec int64, options ...Option) (string, error) + func (bucket Bucket) UploadFile(objectKey, filePath string, partSize int64, options ...Option) error + func (bucket Bucket) UploadPart(imur InitiateMultipartUploadResult, reader io.Reader, partSize int64, ...) (UploadPart, error) + func (bucket Bucket) UploadPartCopy(imur InitiateMultipartUploadResult, srcBucketName, srcObjectKey string, ...) (UploadPart, error) + func (bucket Bucket) UploadPartFromFile(imur InitiateMultipartUploadResult, filePath string, ...) (UploadPart, error) + type BucketAccessMonitorXml struct + Status string + XMLName xml.Name + type BucketCnameXml struct + Bucket string + Cname []Cname + Owner string + XMLName xml.Name + type BucketInfo struct + ACL string + AccessMonitor string + CreationDate time.Time + CrossRegionReplication string + ExtranetEndpoint string + IntranetEndpoint string + Location string + Name string + Owner Owner + RedundancyType string + SseRule SSERule + StorageClass string + TransferAcceleration string + Versioning string + XMLName xml.Name + type BucketListStyleXml struct + Style []BucketStyleXml + XMLName xml.Name + type BucketProperties struct + CreationDate time.Time + Location string + Name string + Region string + StorageClass string + XMLName xml.Name + type BucketQoSConfiguration struct + ExtranetDownloadBandwidth *int + ExtranetQPS *int + ExtranetUploadBandwidth *int + IntranetDownloadBandwidth *int + IntranetQPS *int + IntranetUploadBandwidth *int + TotalDownloadBandwidth *int + TotalQPS *int + TotalUploadBandwidth *int + XMLName xml.Name + type BucketRTCXml struct + ID string + RTC *string + XMLName xml.Name + type BucketReplicationLocationXml struct + Location []string + LocationTransferType []ReplicationLocationTransferType + RTCLocation []string + XMLName xml.Name + type BucketReplicationProgressXml struct + Rule []ReplicationRule + XMLName xml.Name + type BucketReplicationXml struct + Rule []ReplicationRule + XMLName xml.Name + type BucketResourceGroupXml struct + ResourceGroupId string + XMLName xml.Name + type BucketStat struct + ArchiveObjectCount int64 + ArchiveRealStorage int64 + ArchiveStorage int64 + ColdArchiveObjectCount int64 + ColdArchiveRealStorage int64 + ColdArchiveStorage int64 + InfrequentAccessObjectCount int64 + InfrequentAccessRealStorage int64 + InfrequentAccessStorage int64 + LastModifiedTime int64 + LiveChannelCount int64 + MultipartUploadCount int64 + ObjectCount int64 + StandardObjectCount int64 + StandardStorage int64 + Storage int64 + XMLName xml.Name + type BucketStyleXml struct + Content string + CreateTime string + LastModifyTime string + Name string + XMLName xml.Name + type CORSRule struct + AllowedHeader []string + AllowedMethod []string + AllowedOrigin []string + ExposeHeader []string + MaxAgeSeconds int + XMLName xml.Name + type CORSXML struct + CORSRules []CORSRule + ResponseVary *bool + XMLName xml.Name + type CRCCheckError struct + func (e CRCCheckError) Error() string + type CSV struct + FieldDelimiter string + QuoteCharacter string + RecordDelimiter string + XMLName xml.Name + type CSVSelectInput struct + CommentCharacter string + FieldDelimiter string + FileHeaderInfo string + QuoteCharacter string + Range string + RecordDelimiter string + SplitRange string + XMLName xml.Name + type CSVSelectOutput struct + FieldDelimiter string + RecordDelimiter string + XMLName xml.Name + type Certificate struct + CertId string + CreationDate string + Fingerprint string + Status string + Type string + ValidEndDate string + ValidStartDate string + type CertificateConfiguration struct + CertId string + Certificate string + DeleteCertificate bool + Force bool + PreviousCertId string + PrivateKey string + type Client struct + Config *Config + Conn *Conn + HTTPClient *http.Client + func New(endpoint, accessKeyID, accessKeySecret string, options ...ClientOption) (*Client, error) + func (client *Client) SetCloudBoxId(cloudBoxId string) + func (client *Client) SetProduct(product string) + func (client *Client) SetRegion(region string) + func (client Client) AbortBucketWorm(bucketName string, options ...Option) error + func (client Client) Bucket(bucketName string) (*Bucket, error) + func (client Client) CloseMetaQuery(bucketName string, options ...Option) error + func (client Client) CompleteBucketWorm(bucketName string, wormID string, options ...Option) error + func (client Client) CreateBucket(bucketName string, options ...Option) error + func (client Client) CreateBucketCnameToken(bucketName string, cname string, options ...Option) (CreateBucketCnameTokenResult, error) + func (client Client) CreateBucketXml(bucketName string, xmlBody string, options ...Option) error + func (client Client) DeleteBucket(bucketName string, options ...Option) error + func (client Client) DeleteBucketCORS(bucketName string, options ...Option) error + func (client Client) DeleteBucketCname(bucketName string, cname string, options ...Option) error + func (client Client) DeleteBucketEncryption(bucketName string, options ...Option) error + func (client Client) DeleteBucketInventory(bucketName, strInventoryId string, options ...Option) error + func (client Client) DeleteBucketLifecycle(bucketName string, options ...Option) error + func (client Client) DeleteBucketLogging(bucketName string, options ...Option) error + func (client Client) DeleteBucketPolicy(bucketName string, options ...Option) error + func (client Client) DeleteBucketQosInfo(bucketName string, options ...Option) error + func (client Client) DeleteBucketReplication(bucketName string, ruleId string, options ...Option) error + func (client Client) DeleteBucketResponseHeader(bucketName string, options ...Option) error + func (client Client) DeleteBucketStyle(bucketName, styleName string, options ...Option) error + func (client Client) DeleteBucketTagging(bucketName string, options ...Option) error + func (client Client) DeleteBucketTransferAcc(bucketName string, options ...Option) error + func (client Client) DeleteBucketWebsite(bucketName string, options ...Option) error + func (client Client) DescribeRegions(options ...Option) (DescribeRegionsResult, error) + func (client Client) DescribeRegionsXml(options ...Option) (string, error) + func (client Client) DoMetaQuery(bucketName string, metaQuery MetaQuery, options ...Option) (DoMetaQueryResult, error) + func (client Client) DoMetaQueryXml(bucketName string, metaQueryXml string, options ...Option) (DoMetaQueryResult, error) + func (client Client) ExtendBucketWorm(bucketName string, retentionDays int, wormID string, options ...Option) error + func (client Client) GetBucketACL(bucketName string, options ...Option) (GetBucketACLResult, error) + func (client Client) GetBucketAccessMonitor(bucketName string, options ...Option) (GetBucketAccessMonitorResult, error) + func (client Client) GetBucketAccessMonitorXml(bucketName string, options ...Option) (string, error) + func (client Client) GetBucketAsyncTask(bucketName string, taskID string, options ...Option) (AsynFetchTaskInfo, error) + func (client Client) GetBucketCORS(bucketName string, options ...Option) (GetBucketCORSResult, error) + func (client Client) GetBucketCORSXml(bucketName string, options ...Option) (string, error) + func (client Client) GetBucketCname(bucketName string, options ...Option) (string, error) + func (client Client) GetBucketCnameToken(bucketName string, cname string, options ...Option) (GetBucketCnameTokenResult, error) + func (client Client) GetBucketEncryption(bucketName string, options ...Option) (GetBucketEncryptionResult, error) + func (client Client) GetBucketInfo(bucketName string, options ...Option) (GetBucketInfoResult, error) + func (client Client) GetBucketInventory(bucketName string, strInventoryId string, options ...Option) (InventoryConfiguration, error) + func (client Client) GetBucketInventoryXml(bucketName string, strInventoryId string, options ...Option) (string, error) + func (client Client) GetBucketLifecycle(bucketName string, options ...Option) (GetBucketLifecycleResult, error) + func (client Client) GetBucketLifecycleXml(bucketName string, options ...Option) (string, error) + func (client Client) GetBucketLocation(bucketName string, options ...Option) (string, error) + func (client Client) GetBucketLogging(bucketName string, options ...Option) (GetBucketLoggingResult, error) + func (client Client) GetBucketPolicy(bucketName string, options ...Option) (string, error) + func (client Client) GetBucketQosInfo(bucketName string, options ...Option) (BucketQoSConfiguration, error) + func (client Client) GetBucketReferer(bucketName string, options ...Option) (GetBucketRefererResult, error) + func (client Client) GetBucketRefererXml(bucketName string, options ...Option) (string, error) + func (client Client) GetBucketReplication(bucketName string, options ...Option) (string, error) + func (client Client) GetBucketReplicationLocation(bucketName string, options ...Option) (string, error) + func (client Client) GetBucketReplicationProgress(bucketName string, ruleId string, options ...Option) (string, error) + func (client Client) GetBucketRequestPayment(bucketName string, options ...Option) (RequestPaymentConfiguration, error) + func (client Client) GetBucketResourceGroup(bucketName string, options ...Option) (GetBucketResourceGroupResult, error) + func (client Client) GetBucketResourceGroupXml(bucketName string, options ...Option) (string, error) + func (client Client) GetBucketResponseHeader(bucketName string, options ...Option) (GetBucketResponseHeaderResult, error) + func (client Client) GetBucketResponseHeaderXml(bucketName string, options ...Option) (string, error) + func (client Client) GetBucketStat(bucketName string, options ...Option) (GetBucketStatResult, error) + func (client Client) GetBucketStyle(bucketName, styleName string, options ...Option) (GetBucketStyleResult, error) + func (client Client) GetBucketStyleXml(bucketName, styleName string, options ...Option) (string, error) + func (client Client) GetBucketTagging(bucketName string, options ...Option) (GetBucketTaggingResult, error) + func (client Client) GetBucketTransferAcc(bucketName string, options ...Option) (TransferAccConfiguration, error) + func (client Client) GetBucketVersioning(bucketName string, options ...Option) (GetBucketVersioningResult, error) + func (client Client) GetBucketWebsite(bucketName string, options ...Option) (GetBucketWebsiteResult, error) + func (client Client) GetBucketWebsiteXml(bucketName string, options ...Option) (string, error) + func (client Client) GetBucketWorm(bucketName string, options ...Option) (WormConfiguration, error) + func (client Client) GetMetaQueryStatus(bucketName string, options ...Option) (GetMetaQueryStatusResult, error) + func (client Client) GetUserQoSInfo(options ...Option) (UserQoSConfiguration, error) + func (client Client) InitiateBucketWorm(bucketName string, retentionDays int, options ...Option) (string, error) + func (client Client) IsBucketExist(bucketName string) (bool, error) + func (client Client) LimitDownloadSpeed(downSpeed int) error + func (client Client) LimitUploadSpeed(upSpeed int) error + func (client Client) ListBucketCname(bucketName string, options ...Option) (ListBucketCnameResult, error) + func (client Client) ListBucketInventory(bucketName, continuationToken string, options ...Option) (ListInventoryConfigurationsResult, error) + func (client Client) ListBucketInventoryXml(bucketName, continuationToken string, options ...Option) (string, error) + func (client Client) ListBucketStyle(bucketName string, options ...Option) (GetBucketListStyleResult, error) + func (client Client) ListBucketStyleXml(bucketName string, options ...Option) (string, error) + func (client Client) ListBuckets(options ...Option) (ListBucketsResult, error) + func (client Client) ListCloudBoxes(options ...Option) (ListCloudBoxResult, error) + func (client Client) OpenMetaQuery(bucketName string, options ...Option) error + func (client Client) PutBucketAccessMonitor(bucketName string, accessMonitor PutBucketAccessMonitor, options ...Option) error + func (client Client) PutBucketAccessMonitorXml(bucketName string, xmlData string, options ...Option) error + func (client Client) PutBucketCname(bucketName string, cname string, options ...Option) error + func (client Client) PutBucketCnameWithCertificate(bucketName string, putBucketCname PutBucketCname, options ...Option) error + func (client Client) PutBucketCnameXml(bucketName string, xmlBody string, options ...Option) error + func (client Client) PutBucketRTC(bucketName string, rtc PutBucketRTC, options ...Option) error + func (client Client) PutBucketRTCXml(bucketName string, xmlBody string, options ...Option) error + func (client Client) PutBucketRefererXml(bucketName, xmlData string, options ...Option) error + func (client Client) PutBucketReplication(bucketName string, xmlBody string, options ...Option) error + func (client Client) PutBucketResourceGroup(bucketName string, resourceGroup PutBucketResourceGroup, options ...Option) error + func (client Client) PutBucketResourceGroupXml(bucketName string, xmlData string, options ...Option) error + func (client Client) PutBucketResponseHeader(bucketName string, responseHeader PutBucketResponseHeader, options ...Option) error + func (client Client) PutBucketResponseHeaderXml(bucketName, xmlData string, options ...Option) error + func (client Client) PutBucketStyle(bucketName, styleName string, styleContent string, options ...Option) error + func (client Client) PutBucketStyleXml(bucketName, styleName, xmlData string, options ...Option) error + func (client Client) SetBucketACL(bucketName string, bucketACL ACLType, options ...Option) error + func (client Client) SetBucketAsyncTask(bucketName string, asynConf AsyncFetchTaskConfiguration, options ...Option) (AsyncFetchTaskResult, error) + func (client Client) SetBucketCORS(bucketName string, corsRules []CORSRule, options ...Option) error + func (client Client) SetBucketCORSV2(bucketName string, putBucketCORS PutBucketCORS, options ...Option) error + func (client Client) SetBucketCORSXml(bucketName string, xmlBody string, options ...Option) error + func (client Client) SetBucketEncryption(bucketName string, encryptionRule ServerEncryptionRule, options ...Option) error + func (client Client) SetBucketInventory(bucketName string, inventoryConfig InventoryConfiguration, options ...Option) error + func (client Client) SetBucketInventoryXml(bucketName string, xmlBody string, options ...Option) error + func (client Client) SetBucketLifecycle(bucketName string, rules []LifecycleRule, options ...Option) error + func (client Client) SetBucketLifecycleXml(bucketName string, xmlBody string, options ...Option) error + func (client Client) SetBucketLogging(bucketName, targetBucket, targetPrefix string, isEnable bool, ...) error + func (client Client) SetBucketPolicy(bucketName string, policy string, options ...Option) error + func (client Client) SetBucketQoSInfo(bucketName string, qosConf BucketQoSConfiguration, options ...Option) error + func (client Client) SetBucketReferer(bucketName string, referrers []string, allowEmptyReferer bool, ...) error + func (client Client) SetBucketRefererV2(bucketName string, setBucketReferer RefererXML, options ...Option) error + func (client Client) SetBucketRequestPayment(bucketName string, paymentConfig RequestPaymentConfiguration, ...) error + func (client Client) SetBucketTagging(bucketName string, tagging Tagging, options ...Option) error + func (client Client) SetBucketTransferAcc(bucketName string, accConf TransferAccConfiguration, options ...Option) error + func (client Client) SetBucketVersioning(bucketName string, versioningConfig VersioningConfig, options ...Option) error + func (client Client) SetBucketWebsite(bucketName, indexDocument, errorDocument string, options ...Option) error + func (client Client) SetBucketWebsiteDetail(bucketName string, wxml WebsiteXML, options ...Option) error + func (client Client) SetBucketWebsiteXml(bucketName string, webXml string, options ...Option) error + type ClientOption func(*Client) + func AdditionalHeaders(headers []string) ClientOption + func AuthProxy(proxyHost, proxyUser, proxyPassword string) ClientOption + func AuthVersion(authVersion AuthVersionType) ClientOption + func CloudBoxId(cloudBoxId string) ClientOption + func EnableCRC(isEnableCRC bool) ClientOption + func EnableMD5(isEnableMD5 bool) ClientOption + func ForcePathStyle(isPathStyle bool) ClientOption + func HTTPClient(HTTPClient *http.Client) ClientOption + func InsecureSkipVerify(enabled bool) ClientOption + func MD5ThresholdCalcInMemory(threshold int64) ClientOption + func MaxConns(maxIdleConns, maxIdleConnsPerHost, maxConnsPerHost int) ClientOption + func Product(product string) ClientOption + func Proxy(proxyHost string) ClientOption + func RedirectEnabled(enabled bool) ClientOption + func Region(region string) ClientOption + func SecurityToken(token string) ClientOption + func SetCredentialsProvider(provider CredentialsProvider) ClientOption + func SetLocalAddr(localAddr net.Addr) ClientOption + func SetLogLevel(LogLevel int) ClientOption + func SetLogger(Logger *log.Logger) ClientOption + func Timeout(connectTimeoutSec, readWriteTimeout int64) ClientOption + func UseCname(isUseCname bool) ClientOption + func UserAgent(userAgent string) ClientOption + func VerifyObjectStrict(enable bool) ClientOption + type CloudBoxProperties struct + ControlEndpoint string + DataEndpoint string + ID string + Name string + Region string + XMLName xml.Name + type Cname struct + Certificate Certificate + Domain string + LastModified string + Status string + type CnameConfigurationXML struct + Domain string + XMLName xml.Name + type CnameTokenXML struct + Bucket string + Cname string + ExpireTime string + Token string + XMLName xml.Name + type CompleteMultipartUploadResult struct + Bucket string + ETag string + Key string + Location string + XMLName xml.Name + type Condition struct + HTTPErrorCodeReturnedEquals int + IncludeHeader []IncludeHeader + KeyPrefixEquals string + XMLName xml.Name + type Config struct + AccessKeyID string + AccessKeySecret string + AdditionalHeaders []string + AuthVersion AuthVersionType + CloudBoxId string + CredentialsProvider CredentialsProvider + DownloadLimitSpeed int + DownloadLimiter *OssLimiter + Endpoint string + HTTPMaxConns HTTPMaxConns + HTTPTimeout HTTPTimeout + InsecureSkipVerify bool + IsAuthProxy bool + IsCname bool + IsDebug bool + IsEnableCRC bool + IsEnableMD5 bool + IsPathStyle bool + IsUseProxy bool + LocalAddr net.Addr + LogLevel int + Logger *log.Logger + MD5Threshold int64 + Product string + ProxyHost string + ProxyPassword string + ProxyUser string + RedirectEnabled bool + Region string + RetryTimes uint + SecurityToken string + Timeout uint + UploadLimitSpeed int + UploadLimiter *OssLimiter + UserAgent string + UserSetUa bool + VerifyObjectStrict bool + func (config *Config) GetCredentials() Credentials + func (config *Config) GetSignProduct() string + func (config *Config) GetSignRegion() string + func (config *Config) LimitDownloadSpeed(downloadSpeed int) error + func (config *Config) LimitUploadSpeed(uploadSpeed int) error + func (config *Config) WriteLog(LogLevel int, format string, a ...interface{}) + type Conn struct + func (conn Conn) Do(method, bucketName, objectName string, params map[string]interface{}, ...) (*Response, error) + func (conn Conn) DoURL(method HTTPMethod, signedURL string, headers map[string]string, data io.Reader, ...) (*Response, error) + func (conn Conn) DoURLWithContext(ctx context.Context, method HTTPMethod, signedURL string, ...) (*Response, error) + func (conn Conn) DoWithContext(ctx context.Context, method, bucketName, objectName string, ...) (*Response, error) + func (conn Conn) LoggerHTTPReq(req *http.Request) + func (conn Conn) LoggerHTTPResp(req *http.Request, resp *http.Response) + type CopyObjectResult struct + ETag string + LastModified time.Time + XMLName xml.Name + type CreateBucketCnameTokenResult CnameTokenXML + type CreateLiveChannelResult struct + PlayUrls []string + PublishUrls []string + XMLName xml.Name + type Credentials interface + GetAccessKeyID func() string + GetAccessKeySecret func() string + GetSecurityToken func() string + type CredentialsProvider interface + GetCredentials func() Credentials + type CredentialsProviderE interface + GetCredentialsE func() (Credentials, error) + type CsvMetaRequest struct + InputSerialization InputSerialization + OverwriteIfExists *bool + XMLName xml.Name + type DataRedundancyType string + const RedundancyLRS + const RedundancyZRS + type DeleteObject struct + Key string + VersionId string + XMLName xml.Name + type DeleteObjectVersionsResult struct + DeletedObjectsDetail []DeletedKeyInfo + XMLName xml.Name + type DeleteObjectsResult struct + DeletedObjects []string + XMLName xml.Name + type DeletedKeyInfo struct + DeleteMarker bool + DeleteMarkerVersionId string + Key string + VersionId string + XMLName xml.Name + type DescribeRegionsResult RegionInfoList + type DiscardReadCloser struct + Discard int + RC io.ReadCloser + func (drc *DiscardReadCloser) Close() error + func (drc *DiscardReadCloser) Read(b []byte) (int, error) + type DoMetaQueryResult DoMetaQueryResultXml + type DoMetaQueryResultXml struct + Aggregations []MetaQueryAggregationResponse + Files []MetaQueryFile + NextToken string + XMLName xml.Name + type EndFrame struct + ErrorMsg string + HTTPStatusCode int32 + TotalScanned int64 + type EnvironmentVariableCredentialsProvider struct + func NewEnvironmentVariableCredentialsProvider() (EnvironmentVariableCredentialsProvider, error) + func (defBuild *EnvironmentVariableCredentialsProvider) GetCredentials() Credentials + type ErrorDocument struct + Key string + XMLName xml.Name + type ExtendWormConfiguration struct + RetentionPeriodInDays int + XMLName xml.Name + type FileChunk struct + Number int + Offset int64 + Size int64 + func SplitFileByPartNum(fileName string, chunkNum int) ([]FileChunk, error) + func SplitFileByPartSize(fileName string, chunkSize int64) ([]FileChunk, error) + type GetBucketACLResult struct + ACL string + Owner Owner + XMLName xml.Name + type GetBucketAccessMonitorResult BucketAccessMonitorXml + type GetBucketCORSResult CORSXML + type GetBucketCnameTokenResult CnameTokenXML + type GetBucketEncryptionResult ServerEncryptionRule + type GetBucketInfoResult struct + BucketInfo BucketInfo + XMLName xml.Name + type GetBucketLifecycleResult LifecycleConfiguration + type GetBucketListStyleResult BucketListStyleXml + type GetBucketLoggingResult LoggingXML + type GetBucketRefererResult RefererXML + type GetBucketReplicationLocationResult BucketReplicationLocationXml + type GetBucketReplicationProgressResult BucketReplicationProgressXml + type GetBucketReplicationResult BucketReplicationXml + type GetBucketResourceGroupResult BucketResourceGroupXml + type GetBucketResponseHeaderResult ResponseHeaderXml + type GetBucketStatResult BucketStat + type GetBucketStyleResult BucketStyleXml + type GetBucketTaggingResult Tagging + type GetBucketVersioningResult VersioningConfig + type GetBucketWebsiteResult WebsiteXML + type GetMetaQueryStatusResult GetMetaQueryStatusResultXml + type GetMetaQueryStatusResultXml struct + CreateTime string + Phase string + State string + UpdateTime string + XMLName xml.Name + type GetObjectACLResult GetBucketACLResult + type GetObjectRequest struct + ObjectKey string + type GetObjectResult struct + ClientCRC hash.Hash64 + Response *Response + ServerCRC uint64 + type GetObjectTaggingResult Tagging + type HTTPMaxConns struct + MaxConnsPerHost int + MaxIdleConns int + MaxIdleConnsPerHost int + type HTTPMethod string + const HTTPDelete + const HTTPGet + const HTTPHead + const HTTPPost + const HTTPPut + type HTTPTimeout struct + ConnectTimeout time.Duration + HeaderTimeout time.Duration + IdleConnTimeout time.Duration + LongTimeout time.Duration + ReadWriteTimeout time.Duration + type IncludeHeader struct + Equals string + Key string + XMLName xml.Name + type IndexDocument struct + Suffix string + XMLName xml.Name + type InitiateMultipartUploadResult struct + Bucket string + Key string + UploadID string + XMLName xml.Name + type InitiateWormConfiguration struct + RetentionPeriodInDays int + XMLName xml.Name + type InputSerialization struct + CSV CSV + CompressionType string + JSON JSON + XMLName xml.Name + type InputSerializationSelect struct + CompressionType string + CsvBodyInput CSVSelectInput + JsonBodyInput JSONSelectInput + XMLName xml.Name + type InvEncryption struct + SseKms *InvSseKms + SseOss *InvSseOss + XMLName xml.Name + type InvSseKms struct + KmsId string + XMLName xml.Name + type InvSseOss struct + XMLName xml.Name + type InventoryConfiguration struct + Frequency string + Id string + IncludedObjectVersions string + IsEnabled *bool + OSSBucketDestination OSSBucketDestination + OptionalFields OptionalFields + Prefix string + XMLName xml.Name + type JSON struct + JSONType string + XMLName xml.Name + type JSONSelectInput struct + JSONType string + ParseJSONNumberAsString *bool + Range string + SplitRange string + XMLName xml.Name + func (jsonInput *JSONSelectInput) JsonIsEmpty() bool + type JSONSelectOutput struct + RecordDelimiter string + XMLName xml.Name + type JsonMetaRequest struct + InputSerialization InputSerialization + OverwriteIfExists *bool + XMLName xml.Name + type LifecycleAbortMultipartUpload struct + CreatedBeforeDate string + Days int + XMLName xml.Name + type LifecycleConfiguration struct + Rules []LifecycleRule + XMLName xml.Name + type LifecycleExpiration struct + CreatedBeforeDate string + Date string + Days int + ExpiredObjectDeleteMarker *bool + XMLName xml.Name + type LifecycleFilter struct + Not []LifecycleFilterNot + ObjectSizeGreaterThan *int64 + ObjectSizeLessThan *int64 + XMLName xml.Name + type LifecycleFilterNot struct + Prefix string + Tag *Tag + XMLName xml.Name + type LifecycleRule struct + AbortMultipartUpload *LifecycleAbortMultipartUpload + Expiration *LifecycleExpiration + Filter *LifecycleFilter + ID string + NonVersionExpiration *LifecycleVersionExpiration + NonVersionTransition *LifecycleVersionTransition + NonVersionTransitions []LifecycleVersionTransition + Prefix string + Status string + Tags []Tag + Transitions []LifecycleTransition + XMLName xml.Name + func BuildLifecycleRuleByDate(id, prefix string, status bool, year, month, day int) LifecycleRule + func BuildLifecycleRuleByDays(id, prefix string, status bool, days int) LifecycleRule + type LifecycleTransition struct + AllowSmallFile *bool + CreatedBeforeDate string + Days int + IsAccessTime *bool + ReturnToStdWhenVisit *bool + StorageClass StorageClassType + XMLName xml.Name + type LifecycleVersionExpiration struct + NoncurrentDays int + XMLName xml.Name + type LifecycleVersionTransition struct + AllowSmallFile *bool + IsAccessTime *bool + NoncurrentDays int + ReturnToStdWhenVisit *bool + StorageClass StorageClassType + XMLName xml.Name + type LimitSpeedReader struct + func (r *LimitSpeedReader) Close() error + func (r *LimitSpeedReader) Read(p []byte) (n int, err error) + type LimitedReadCloser struct + func (lc *LimitedReadCloser) Close() error + type ListBucketCnameResult BucketCnameXml + type ListBucketsResult struct + Buckets []BucketProperties + IsTruncated bool + Marker string + MaxKeys int + NextMarker string + Owner Owner + Prefix string + XMLName xml.Name + type ListCloudBoxResult struct + CloudBoxes []CloudBoxProperties + IsTruncated bool + Marker string + MaxKeys int + NextMarker string + Owner string + Prefix string + XMLName xml.Name + type ListInventoryConfigurationsResult struct + InventoryConfiguration []InventoryConfiguration + IsTruncated *bool + NextContinuationToken string + XMLName xml.Name + type ListLiveChannelResult struct + IsTruncated bool + LiveChannel []LiveChannelInfo + Marker string + MaxKeys int + NextMarker string + Prefix string + XMLName xml.Name + type ListMultipartUploadResult struct + Bucket string + CommonPrefixes []string + Delimiter string + IsTruncated bool + KeyMarker string + MaxUploads int + NextKeyMarker string + NextUploadIDMarker string + Prefix string + UploadIDMarker string + Uploads []UncompletedUpload + XMLName xml.Name + type ListObjectVersionsResult struct + CommonPrefixes []string + Delimiter string + IsTruncated bool + KeyMarker string + MaxKeys int + Name string + NextKeyMarker string + NextVersionIdMarker string + ObjectDeleteMarkers []ObjectDeleteMarkerProperties + ObjectVersions []ObjectVersionProperties + Owner Owner + Prefix string + VersionIdMarker string + XMLName xml.Name + type ListObjectsResult struct + CommonPrefixes []string + Delimiter string + IsTruncated bool + Marker string + MaxKeys int + NextMarker string + Objects []ObjectProperties + Prefix string + XMLName xml.Name + type ListObjectsResultV2 struct + CommonPrefixes []string + ContinuationToken string + Delimiter string + IsTruncated bool + MaxKeys int + NextContinuationToken string + Objects []ObjectProperties + Prefix string + StartAfter string + XMLName xml.Name + type ListUploadedPartsResult struct + Bucket string + IsTruncated bool + Key string + MaxParts int + NextPartNumberMarker string + UploadID string + UploadedParts []UploadedPart + XMLName xml.Name + type LiveChannelAudio struct + Bandwidth int + Codec string + SampleRate int + XMLName xml.Name + type LiveChannelConfiguration struct + Description string + Snapshot *LiveChannelSnapshot + Status string + Target LiveChannelTarget + XMLName xml.Name + type LiveChannelHistory struct + Record []LiveRecord + XMLName xml.Name + type LiveChannelInfo struct + Description string + LastModified time.Time + Name string + PlayUrls []string + PublishUrls []string + Status string + XMLName xml.Name + type LiveChannelSnapshot struct + DestBucket string + Interval int + NotifyTopic string + RoleName string + XMLName xml.Name + type LiveChannelStat struct + Audio LiveChannelAudio + ConnectedTime time.Time + RemoteAddr string + Status string + Video LiveChannelVideo + XMLName xml.Name + type LiveChannelTarget struct + FragCount int + FragDuration int + PlaylistName string + Type string + XMLName xml.Name + type LiveChannelVideo struct + Bandwidth int + FrameRate int + Height int + Width int + XMLName xml.Name + type LiveRecord struct + EndTime time.Time + RemoteAddr string + StartTime time.Time + XMLName xml.Name + type LoggingEnabled struct + TargetBucket string + TargetPrefix string + XMLName xml.Name + type LoggingXML struct + LoggingEnabled LoggingEnabled + XMLName xml.Name + type MetaEndFrameCSV struct + ColumnsCount int32 + ErrorMsg string + RowsCount int64 + SplitsCount int32 + Status int32 + TotalScanned int64 + type MetaEndFrameJSON struct + ErrorMsg string + RowsCount int64 + SplitsCount int32 + Status int32 + TotalScanned int64 + type MetaQuery struct + Aggregations []MetaQueryAggregationRequest + MaxResults int64 + NextToken string + Order string + Query string + Sort string + XMLName xml.Name + type MetaQueryAggregationRequest struct + Field string + Operation string + XMLName xml.Name + type MetaQueryAggregationResponse struct + Field string + Groups []MetaQueryGroup + Operation string + Value float64 + XMLName xml.Name + type MetaQueryFile struct + ETag string + FileModifiedTime string + Filename string + ObjectACL string + OssCRC64 string + OssObjectType string + OssStorageClass string + OssTagging []MetaQueryTagging + OssTaggingCount int64 + OssUserMeta []MetaQueryUserMeta + ServerSideEncryption string + ServerSideEncryptionCustomerAlgorithm string + Size int64 + XMLName xml.Name + type MetaQueryGroup struct + Count int64 + Value string + XMLName xml.Name + type MetaQueryTagging struct + Key string + Value string + XMLName xml.Name + type MetaQueryUserMeta struct + Key string + Value string + XMLName xml.Name + type MetadataDirectiveType string + const MetaCopy + const MetaReplace + type MirrorHeaderSet struct + Key string + Value string + XMLName xml.Name + type MirrorHeaders struct + Pass []string + PassAll *bool + Remove []string + Set []MirrorHeaderSet + XMLName xml.Name + type OSSBucketDestination struct + AccountId string + Bucket string + Encryption *InvEncryption + Format string + Prefix string + RoleArn string + XMLName xml.Name + type ObjectDeleteMarkerProperties struct + IsLatest bool + Key string + LastModified time.Time + Owner Owner + VersionId string + XMLName xml.Name + type ObjectProperties struct + ETag string + Key string + LastModified time.Time + Owner Owner + RestoreInfo string + Size int64 + StorageClass string + Type string + XMLName xml.Name + type ObjectVersionProperties struct + ETag string + IsLatest bool + Key string + LastModified time.Time + Owner Owner + RestoreInfo string + Size int64 + StorageClass string + Type string + VersionId string + XMLName xml.Name + type ObjecthashFuncType string + const HashFuncSha1 + const HashFuncSha256 + type Option func(map[string]optionValue) error + func ACL(acl ACLType) Option + func ACReqHeaders(value string) Option + func ACReqMethod(value string) Option + func AcceptEncoding(value string) Option + func AddContentType(options []Option, keys ...string) []Option + func AddParam(key string, value interface{}) Option + func AllowSameActionOverLap(enabled bool) Option + func CacheControl(value string) Option + func Callback(callback string) Option + func CallbackResult(body *[]byte) Option + func CallbackVar(callbackVar string) Option + func Checkpoint(isEnable bool, filePath string) Option + func CheckpointDir(isEnable bool, dirPath string) Option + func ChoiceAbortPartOption(options []Option) []Option + func ChoiceCompletePartOption(options []Option) []Option + func ChoiceHeadObjectOption(options []Option) []Option + func ChoiceTransferPartOption(options []Option) []Option + func ContentDisposition(value string) Option + func ContentEncoding(value string) Option + func ContentLanguage(value string) Option + func ContentLength(length int64) Option + func ContentMD5(value string) Option + func ContentType(value string) Option + func ContinuationToken(value string) Option + func CopySource(sourceBucket, sourceObject string) Option + func CopySourceIfMatch(value string) Option + func CopySourceIfModifiedSince(t time.Time) Option + func CopySourceIfNoneMatch(value string) Option + func CopySourceIfUnmodifiedSince(t time.Time) Option + func CopySourceRange(startPosition, partSize int64) Option + func CopySourceVersion(sourceBucket, sourceObject string, versionId string) Option + func DeleteObjectsQuiet(isQuiet bool) Option + func DeleteOption(options []Option, strKey string) []Option + func Delimiter(value string) Option + func EnableMd5() Option + func EnableSha1() Option + func EnableSha256() Option + func EncodingType(value string) Option + func Expires(t time.Time) Option + func FetchOwner(value bool) Option + func ForbidOverWrite(forbidWrite bool) Option + func GetResponseHeader(respHeader *http.Header) Option + func IfMatch(value string) Option + func IfModifiedSince(t time.Time) Option + func IfNoneMatch(value string) Option + func IfUnmodifiedSince(t time.Time) Option + func InitCRC(initCRC uint64) Option + func KeyMarker(value string) Option + func ListType(value int) Option + func Marker(value string) Option + func MaxKeys(value int) Option + func MaxParts(value int) Option + func MaxUploads(value int) Option + func Meta(key, value string) Option + func MetadataDirective(directive MetadataDirectiveType) Option + func NormalizedRange(nr string) Option + func ObjectACL(acl ACLType) Option + func ObjectHashFunc(value ObjecthashFuncType) Option + func ObjectStorageClass(storageClass StorageClassType) Option + func Origin(value string) Option + func PartHashCtxHeader(value string) Option + func PartHashCtxParam(value string) Option + func PartMd5CtxHeader(value string) Option + func PartMd5CtxParam(value string) Option + func PartNumberMarker(value int) Option + func Prefix(value string) Option + func Process(value string) Option + func Progress(listener ProgressListener) Option + func Range(start, end int64) Option + func RangeBehavior(value string) Option + func RedundancyType(value DataRedundancyType) Option + func RequestPayer(payerType PayerType) Option + func RequestPayerParam(payerType PayerType) Option + func ResponseCacheControl(value string) Option + func ResponseContentDisposition(value string) Option + func ResponseContentEncoding(value string) Option + func ResponseContentLanguage(value string) Option + func ResponseContentType(value string) Option + func ResponseExpires(value string) Option + func Routines(n int) Option + func SSECAlgorithm(value string) Option + func SSECKey(value string) Option + func SSECKeyMd5(value string) Option + func Sequential() Option + func ServerSideDataEncryption(value string) Option + func ServerSideEncryption(value string) Option + func ServerSideEncryptionKeyID(value string) Option + func SetHeader(key string, value interface{}) Option + func SetTagging(tagging Tagging) Option + func StartAfter(value string) Option + func StorageClass(value StorageClassType) Option + func TagKey(value string) Option + func TagValue(value string) Option + func TaggingDirective(directive TaggingDirectiveType) Option + func TrafficLimitHeader(value int64) Option + func TrafficLimitParam(value int64) Option + func UploadIDMarker(value string) Option + func UserAgentHeader(ua string) Option + func VersionId(value string) Option + func VersionIdMarker(value string) Option + func WithContext(ctx context.Context) Option + func WithHashContext() Option + type OptionalFields struct + Field []string + XMLName xml.Name + type OssLimiter struct + func GetOssLimiter(uploadSpeed int) (ossLimiter *OssLimiter, err error) + type OutputSerializationSelect struct + CsvBodyOutput CSVSelectOutput + EnablePayloadCrc *bool + JsonBodyOutput JSONSelectOutput + KeepAllColumns *bool + OutputHeader *bool + OutputRawData *bool + XMLName xml.Name + type Owner struct + DisplayName string + ID string + XMLName xml.Name + type PayerType string + const BucketOwner + const Requester + type PostSelectResult struct + Response *SelectObjectResponse + type ProcessObjectResult struct + Bucket string + FileSize int + Object string + Status string + type ProgressEvent struct + ConsumedBytes int64 + EventType ProgressEventType + RwBytes int64 + TotalBytes int64 + type ProgressEventType int + const TransferCompletedEvent + const TransferDataEvent + const TransferFailedEvent + const TransferStartedEvent + type ProgressListener interface + ProgressChanged func(event *ProgressEvent) + func GetProgressListener(options []Option) ProgressListener + type PutBucketAccessMonitor BucketAccessMonitorXml + type PutBucketCORS CORSXML + type PutBucketCname PutBucketCnameXml + type PutBucketCnameXml struct + CertificateConfiguration *CertificateConfiguration + Cname string + XMLName xml.Name + type PutBucketRTC BucketRTCXml + type PutBucketReplication BucketReplicationXml + type PutBucketResourceGroup BucketResourceGroupXml + type PutBucketResponseHeader ResponseHeaderXml + type PutObjectRequest struct + ObjectKey string + Reader io.Reader + type ReadFlagInfo struct + ConsumedBytesLength int32 + EnablePayloadCrc bool + OpenLine bool + OutputRawData bool + type Redirect struct + HostName string + HttpRedirectCode int + MirrorCheckMd5 *bool + MirrorFollowRedirect *bool + MirrorHeaders MirrorHeaders + MirrorPassQueryString *bool + MirrorURL string + PassQueryString *bool + Protocol string + RedirectType string + ReplaceKeyPrefixWith string + ReplaceKeyWith string + XMLName xml.Name + type RefererBlacklist struct + Referer []string + type RefererXML struct + AllowEmptyReferer bool + AllowTruncateQueryString *bool + RefererBlacklist *RefererBlacklist + RefererList []string + XMLName xml.Name + type RegionInfo struct + AccelerateEndpoint string + InternalEndpoint string + InternetEndpoint string + Region string + type RegionInfoList struct + Regions []RegionInfo + XMLName xml.Name + type ReplicationLocation struct + Location string + type ReplicationLocationTransferType struct + Location string + TransferTypes string + type ReplicationRule struct + Action string + Destination *ReplicationRuleDestination + EncryptionConfiguration *string + HistoricalObject string + HistoricalObjectReplication string + ID string + PrefixSet *ReplicationRulePrefix + Progress *ReplicationRuleProgress + RTC *string + SourceSelectionCriteria *string + Status string + SyncRole string + type ReplicationRuleDestination struct + Bucket string + Location string + TransferType string + type ReplicationRulePrefix struct + Prefix []*string + type ReplicationRuleProgress struct + HistoricalObject string + NewObject string + type ReplicationXML struct + ID string + XMLName xml.Name + type RequestPaymentConfiguration struct + Payer string + XMLName xml.Name + type Response struct + Body io.ReadCloser + ClientCRC uint64 + Headers http.Header + ServerCRC uint64 + StatusCode int + func (r *Response) Close() error + func (r *Response) Read(p []byte) (n int, err error) + type ResponseHeaderRule struct + Filters ResponseHeaderRuleFilters + HideHeaders ResponseHeaderRuleHeaders + Name string + type ResponseHeaderRuleFilters struct + Operation []string + type ResponseHeaderRuleHeaders struct + Header []string + type ResponseHeaderXml struct + Rule []ResponseHeaderRule + XMLName xml.Name + type RestoreConfiguration struct + Days int32 + Tier string + XMLName xml.Name + type RestoreMode string + const RestoreBulk + const RestoreExpedited + const RestoreStandard + type RoutingRule struct + Condition Condition + Redirect Redirect + RuleNumber int + XMLName xml.Name + type SSEDefaultRule struct + KMSDataEncryption string + KMSMasterKeyID string + SSEAlgorithm string + XMLName xml.Name + type SSERule struct + KMSDataEncryption string + KMSMasterKeyID string + SSEAlgorithm string + XMLName xml.Name + type SelectObjectResponse struct + Body io.ReadCloser + ClientCRC32 uint32 + Finish bool + Frame SelectObjectResult + Headers http.Header + ReadTimeOut uint + ServerCRC32 uint32 + StatusCode int + WriterForCheckCrc32 hash.Hash32 + func (sr *SelectObjectResponse) Close() error + func (sr *SelectObjectResponse) Read(p []byte) (n int, err error) + type SelectObjectResult struct + Data string + EndFrame EndFrame + FrameType int32 + HeaderCheckSum uint32 + MetaEndFrameCSV MetaEndFrameCSV + MetaEndFrameJSON MetaEndFrameJSON + Offset uint64 + PayloadChecksum uint32 + PayloadLength int32 + Version byte + type SelectOptions struct + MaxSkippedRecordsAllowed string + SkipPartialDataRecord *bool + XMLName xml.Name + type SelectRequest struct + Expression string + InputSerializationSelect InputSerializationSelect + OutputSerializationSelect OutputSerializationSelect + SelectOptions SelectOptions + XMLName xml.Name + type ServerEncryptionRule struct + SSEDefault SSEDefaultRule + XMLName xml.Name + type ServiceError struct + Code string + Ec string + Endpoint string + HostID string + Message string + RawMessage string + RequestID string + StatusCode int + XMLName xml.Name + func (e ServiceError) Error() string + type StorageClassType string + const StorageArchive + const StorageColdArchive + const StorageDeepColdArchive + const StorageIA + const StorageStandard + type Tag struct + Key string + Value string + XMLName xml.Name + type Tagging struct + Tags []Tag + XMLName xml.Name + type TaggingDirectiveType string + const TaggingCopy + const TaggingReplace + type TransferAccConfiguration struct + Enabled bool + XMLName xml.Name + type UncompletedUpload struct + Initiated time.Time + Key string + UploadID string + XMLName xml.Name + type UnexpectedStatusCodeError struct + func (e UnexpectedStatusCodeError) Error() string + func (e UnexpectedStatusCodeError) Got() int + type UnpackedRange struct + End int64 + HasEnd bool + HasStart bool + Start int64 + func GetRangeConfig(options []Option) (*UnpackedRange, error) + func ParseRange(normalizedRange string) (*UnpackedRange, error) + type UploadPart struct + ETag string + PartNumber int + XMLName xml.Name + type UploadPartCopyResult struct + ETag string + LastModified time.Time + XMLName xml.Name + type UploadPartRequest struct + InitResult *InitiateMultipartUploadResult + PartNumber int + PartSize int64 + Reader io.Reader + type UploadPartResult struct + Part UploadPart + type UploadParts []UploadPart + func (slice UploadParts) Len() int + func (slice UploadParts) Less(i, j int) bool + func (slice UploadParts) Swap(i, j int) + type UploadedPart struct + ETag string + LastModified time.Time + PartNumber int + Size int + XMLName xml.Name + type UserQoSConfiguration struct + Region string + XMLName xml.Name + type VersioningConfig struct + Status string + XMLName xml.Name + type VersioningStatus string + const VersionEnabled + const VersionSuspended + type WebsiteXML struct + ErrorDocument ErrorDocument + IndexDocument IndexDocument + RoutingRules []RoutingRule + XMLName xml.Name + type WormConfiguration struct + CreationDate string + RetentionPeriodInDays int + State string + WormId string + XMLName xml.Name