package
2.0.1+incompatible
Repository: https://github.com/yahaa/aliyun-oss-go-sdk.git
Documentation: pkg.go.dev

# Functions

AcceptEncoding is an option to set Accept-Encoding header.
ACL is an option to set X-Oss-Acl header.
ACReqHeaders is an option to set Access-Control-Request-Headers header.
ACReqMethod is an option to set Access-Control-Request-Method header.
AuthProxy sets the proxy information with user name and password.
BuildLifecycleRuleByDate builds a lifecycle rule objects will expiration in specified date.
BuildLifecycleRuleByDays builds a lifecycle rule objects will expiration in days after the last modified time.
CacheControl is an option to set Cache-Control header.
Callback is an option to set callback values.
CallbackVar is an option to set callback user defined values.
Checkpoint sets the isEnable flag and checkpoint file path for DownloadFile/UploadFile.
CheckpointDir sets the isEnable flag and checkpoint dir path for DownloadFile/UploadFile.
ContentDisposition is an option to set Content-Disposition header.
ContentEncoding is an option to set Content-Encoding header.
ContentLanguage is an option to set Content-Language header.
ContentLength is an option to set Content-Length header.
ContentMD5 is an option to set Content-MD5 header.
ContentType is an option to set Content-Type header.
CopySource is an option to set X-Oss-Copy-Source header.
CopySourceIfMatch is an option to set X-Oss-Copy-Source-If-Match header.
CopySourceIfModifiedSince is an option to set X-Oss-CopySource-If-Modified-Since header.
CopySourceIfNoneMatch is an option to set X-Oss-Copy-Source-If-None-Match header.
CopySourceIfUnmodifiedSince is an option to set X-Oss-Copy-Source-If-Unmodified-Since header.
CopySourceRange is an option to set X-Oss-Copy-Source header.
CopySourceVersion is an option to set X-Oss-Copy-Source header,include versionId.
CRC64Combine combines CRC64.
DeleteObjectsQuiet false:DeleteObjects in verbose mode; true:DeleteObjects in quite mode.
Delimiter is an option to set delimiler parameter.
DownloadSpeedLimit set download limiter(optional).
EnableCRC enables the CRC checksum.
EnableMD5 enables MD5 validation.
EncodingType is an option to set encoding-type parameter.
Expires is an option to set Expires header.
No description provided by the author
No description provided by the author
GetNowGMT gets the current time in GMT format.
GetNowNanoSec returns t as a Unix time, the number of nanoseconds elapsed since January 1, 1970 UTC.
GetNowSec returns Unix time, the number of seconds elapsed since January 1, 1970 UTC.
GetOssLimiter create OssLimiter uploadSpeed KB/s.
GetPartEnd calculates the end position.
No description provided by the author
GetResponseHeader for get response http header.
No description provided by the author
HTTPClient sets the http.Client in use to the one passed in .
IfMatch is an option to set If-Match header.
IfModifiedSince is an option to set If-Modified-Since header.
IfNoneMatch is an option to set IfNoneMatch header.
IfUnmodifiedSince is an option to set If-Unmodified-Since header.
InitCRC Init AppendObject CRC.
KeyMarker is an option to set key-marker parameter.
Marker is an option to set marker parameter.
MaxKeys is an option to set maxkeys parameter.
MaxParts is an option to set max-parts parameter.
MaxUploads is an option to set max-uploads parameter.
MD5ThresholdCalcInMemory sets the memory usage threshold for computing the MD5, default is 16MB.
Meta is an option to set Meta header.
MetadataDirective is an option to set X-Oss-Metadata-Directive header.
New creates a new client.
NewCRC creates a new hash.Hash64 computing the CRC64 checksum using the polynomial represented by the Table.
NewLimitSpeedReader wrapper io.Reader.
NewOssLimiter create OssLimiter with speed and maxTokens.
NormalizedRange is an option to set Range header, such as 1024-2048 or 1024- or -2048.
ObjectACL is an option to set X-Oss-Object-Acl header.
ObjectStorageClass is an option to set the storage class of object.
Origin is an option to set Origin header.
PartNumberMarker is an option to set part-number-marker parameter.
Prefix is an option to set prefix parameter.
Process is an option to set x-oss-process param.
Progress set progress listener.
Proxy sets the proxy (optional).
Range is an option to set Range header, [start, end].
RequestPayer is an option to set payer who pay for the request.
ResponseCacheControl is an option to set response-cache-control param.
ResponseContentDisposition is an option to set response-content-disposition param.
ResponseContentEncoding is an option to set response-content-encoding param.
ResponseContentLanguage is an option to set response-content-language param.
ResponseContentType is an option to set response-content-type param.
ResponseExpires is an option to set response-expires param.
Routines DownloadFile/UploadFile routine count.
SecurityToken sets the temporary user's SecurityToken.
ServerSideEncryption is an option to set X-Oss-Server-Side-Encryption header.
ServerSideEncryptionKeyID is an option to set X-Oss-Server-Side-Encryption-Key-Id header.
SetLogger sets the oss sdk logger .
SetLogLevel sets the oss sdk log level .
SetTagging is an option to set object tagging.
SplitFileByPartNum splits big file into parts by the num of parts.
SplitFileByPartSize splits big file into parts by the size of parts.
StorageClass bucket storage class.
TaggingDirective is an option to set X-Oss-Metadata-Directive header.
TagKey is an option to set tag key parameter.
TagValue is an option to set tag value parameter.
TeeReader returns a Reader that writes to w what it reads from r.
Timeout sets the HTTP timeout in seconds.
TypeByExtension returns the MIME type associated with the file extension ext.
UploadIDMarker is an option to set upload-id-marker parameter.
UseCname sets the flag of using CName.
UserAgent specifies UserAgent.
VersionId is an option to set versionId parameter.
VersionIdMarker is an option to set version-id-marker parameter.

# Constants

ACLDefault Object.
ACLPrivate definition : private read and write.
ACLPublicRead definition : public read and private write.
ACLPublicReadWrite definition : public read and public write.
No description provided by the author
Checkpoint file suffix.
Define the level of the output log.
Define the level of the output log.
Default file permission.
HTTPDelete HTTP DELETE.
HTTPGet HTTP GET.
HTTPHead HTTP HEAD.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP headers.
HTTP Param.
HTTP Param.
HTTP Param.
HTTP Param.
HTTP Param.
HTTPPost HTTP POST.
HTTPPut HTTP PUT.
Define the level of the output log.
No description provided by the author
Define the level of the output log.
Max part size, 5GB.
MetaCopy the target object's metadata is copied from the source one.
MetaReplace the target object's metadata is created as part of the copy request (not same as the source one).
Min part size, 100KB.
Other constants.
Requester the requester who send the request.
StorageArchive archive.
StorageIA infrequent access.
StorageStandard standard.
TaggingCopy the target object's tagging is copied from the source one.
TaggingReplace the target object's tagging is created as part of the copy request (not same as the source one).
Temp file prefix.
Temp file suffix.
TransferCompletedEvent transfer completed.
TransferDataEvent transfer data, set ConsumedBytes anmd TotalBytes.
TransferFailedEvent transfer encounters an error.
TransferStartedEvent transfer started, set TotalBytes.
Go SDK version.
Versioning Status definition: Enabled.
Versioning Status definition: Suspended.
Define the level of the output log.

# Variables

LogTag Tag for each level of log.

# Structs

AppendObjectRequest is the requtest of DoAppendObject.
AppendObjectResult is the result of DoAppendObject.
Bucket implements the operations of object.
BucketInfo defines Bucket information.
BucketProperties defines bucket properties.
No description provided by the author
Client SDK's entry point.
CompleteMultipartUploadResult defines result object of CompleteMultipartUploadRequest.
Condition defines codition in the RoutingRule.
Config defines oss configuration.
Conn defines OSS Conn.
CopyObjectResult defines result object of CopyObject.
CORSRule defines CORS rules.
CORSXML defines CORS configuration.
CRCCheckError is returned when crc check is inconsistent between client and server.
CreateLiveChannelResult the result of crete live-channel.
DeleteKeyInfo defines object delete info.
DeleteObject defines the struct for deleting object.
DeleteObjectsResult defines result of DeleteObjects request.
DeleteObjectsResult_inner defines result of DeleteObjects request.
ErrorDocument defines the 404 error page info.
FileChunk is the file chunk definition.
GetBucketACLResult defines GetBucketACL request's result.
GetBucketInfoResult defines the result from GetBucketInfo request.
GetObjectRequest is the request of DoGetObject.
GetObjectResult is the result of DoGetObject.
HTTPMaxConns defines max idle connections and max idle connections per host.
HTTPTimeout defines HTTP timeout.
IncludeHeader defines includeHeader in the RoutingRule's Condition.
IndexDocument defines the index page info.
InitiateMultipartUploadResult defines result of InitiateMultipartUpload request.
LifecycleAbortMultipartUpload defines the rule's abort multipart upload propery.
LifecycleConfiguration is the Bucket Lifecycle configuration.
LifecycleExpiration defines the rule's expiration property.
LifecycleRule defines Lifecycle rules.
LifecycleTransition defines the rule's transition propery.
LimitSpeedReader for limit bandwidth.
ListBucketsResult defines the result object from ListBuckets request.
ListLiveChannelResult the result of ListLiveChannel.
ListMultipartUploadResult defines result object of ListMultipartUpload.
ListObjectsResult defines the result from ListObjects request.
ListObjectVersionsResult defines the result from ListObjectVersions request.
ListUploadedPartsResult defines result object of ListUploadedParts.
LiveChannelAudio audio stream information.
LiveChannelConfiguration defines the configuration for live-channel.
LiveChannelHistory the result of GetLiveChannelHistory, at most return up to lastest 10 push records.
LiveChannelInfo the infomation of live-channel.
LiveChannelSnapshot snapshot configuration of live-channel.
LiveChannelStat the result of get live-channel state.
LiveChannelTarget target configuration of live-channel.
LiveChannelVideo video stream information.
LiveRecord push recode.
LoggingEnabled defines the logging configuration information.
LoggingXML defines logging configuration.
MirrorHeaders defines MirrorHeaders in the Redirect.
MirrorHeaderSet defines Set for Redirect's MirrorHeaders.
No description provided by the author
ObjectProperties defines Objecct properties.
No description provided by the author
OssLimiter wrapper rate.Limiter.
Owner defines Bucket/Object's owner.
ProcessObjectResult defines result object of ProcessObject.
ProgressEvent defines progress event.
PutObjectRequest is the request of DoPutObject.
Redirect defines redirect in the RoutingRule.
RefererXML defines Referer configuration.
Response defines HTTP response from OSS.
RoutingRule defines the routing rules.
Server Encryption rule for the bucket.
ServiceError contains fields of the error response from Oss Service REST API.
Server Encryption deafult rule for the bucket.
No description provided by the author
Tag a tag for the object.
Tagging tagset for the object.
UncompletedUpload structure wraps an uncompleted upload task.
UnexpectedStatusCodeError is returned when a storage service responds with neither an error nor with an HTTP status code indicating success.
UploadedPart defines uploaded part.
UploadPart defines the upload/copy part.
UploadPartCopyResult defines result object of multipart copy request.
UploadPartRequest is the request of DoUploadPart.
UploadPartResult is the result of DoUploadPart.
VersioningConfig for the bucket.
WebsiteXML defines Website configuration.

# Interfaces

ProgressListener listens progress change.

# Type aliases

ACLType bucket/object ACL.
AlgorithmType specifying the server side encryption algorithm name.
Client SDK's entry point.
GetBucketCORSResult defines the result from GetBucketCORS request.
No description provided by the author
GetBucketLifecycleResult defines GetBucketLifecycle's result object.
GetBucketLoggingResult defines the result from GetBucketLogging request.
GetBucketRefererResult defines result object for GetBucketReferer request.
No description provided by the author
No description provided by the author
No description provided by the author
GetBucketWebsiteResult defines the result from GetBucketWebsite request.
GetObjectACLResult defines result of GetObjectACL request.
for GetObjectTagging return value.
HTTPMethod HTTP request method.
MetadataDirectiveType specifying whether use the metadata of source object when copying object.
No description provided by the author
PayerType the type of request payer.
ProgressEventType defines transfer progress event type.
StorageClassType bucket storage type.
TaggingDirectiveType specifying whether use the tagging of source object when copying object.
bucket versioning status.