Documentation
¶
Index ¶
- Constants
- func CheckQrsync(dirCacheResultFile string, listBucketResultFile string, ignoreLocalDir bool, ...)
- func Fetch(mac *digest.Mac, remoteResUrl, bucket, key string) (err error)
- func Prefetch(mac *digest.Mac, bucket, key string) (err error)
- func QiniuDownload(threadCount int, downloadConfigFile string)
- func QiniuUpload(putThreshold int64, uploadConfigFile string)
- type Account
- type AliListBucket
- type DirCache
- type DownloadConfig
- type FopResult
- type FopRet
- type ListBucket
- type RSFop
- type UploadConfig
Constants ¶
View Source
const (
PUT_THRESHOLD int64 = 2 << 30
)
Variables ¶
This section is empty.
Functions ¶
func CheckQrsync ¶
func QiniuDownload ¶ added in v1.3.2
func QiniuUpload ¶
Types ¶
type AliListBucket ¶
type AliListBucket struct { DataCenter string AccessKeyId string AccessKeySecret string Bucket string Prefix string }
func (*AliListBucket) ListBucket ¶
func (this *AliListBucket) ListBucket(listResultFile string) (err error)
type DownloadConfig ¶ added in v1.3.2
type DownloadConfig struct { DestDir string `json:"dest_dir"` Bucket string `json:"bucket"` Domain string `json:"domain"` AccessKey string `json:"access_key"` SecretKey string `json:"secret_key"` IsPrivate bool `json:"is_private"` Prefix string `json:"prefix,omitempty"` }
{ "dest_dir" : "/Users/jemy/Backup", "bucket" : "test-bucket", "domain" : "<Your bucket domain>", "access_key" : "<Your AccessKey>", "secret_key" : "<Your SecretKey>", "is_private" : false, "prefix" : "demo/" }
type FopRet ¶
type ListBucket ¶
type ListBucket struct {
Account
}
Click to show internal directories.
Click to hide internal directories.