Versions in this module Expand all Collapse all v0 v0.0.8 Jun 17, 2026 v0.0.7 May 11, 2026 v0.0.6 Mar 27, 2026 Changes in this version type S3Cli + SingleUploadThreshold int64 v0.0.4 Feb 17, 2026 Changes in this version + const NoneCredentialsSource + const StaticCredentialsSource + func AWSHostToRegion(host string) string + func AlicloudHostToRegion(host string) string + func Provider(host string) string + type S3Cli struct + AccessKeyID string + AssumeRoleArn string + BucketName string + CredentialsSource string + DownloadConcurrency int + DownloadPartSize int64 + FolderName string + Host string + HostStyle bool + MultipartCopyPartSize int64 + MultipartCopyThreshold int64 + MultipartUpload bool + Port int + Region string + RequestChecksumCalculationEnabled bool + ResponseChecksumCalculationEnabled bool + SSEKMSKeyID string + SSLVerifyPeer bool + SecretAccessKey string + ServerSideEncryption string + SwiftAuthAccount string + SwiftTempURLKey string + UploadConcurrency int + UploadPartSize int64 + UploaderRequestChecksumCalculationEnabled bool + UseSSL bool + func NewFromReader(reader io.Reader) (S3Cli, error) + func (c *S3Cli) IsGoogle() bool + func (c *S3Cli) S3Endpoint() string + func (c *S3Cli) ShouldDisableRequestChecksumCalculation() bool + func (c *S3Cli) ShouldDisableResponseChecksumCalculation() bool + func (c *S3Cli) ShouldDisableUploaderRequestChecksumCalculation() bool