Documentation
¶
Index ¶
- Constants
- func BlockCount(fsize int64) int
- func CalSha1(b []byte, r io.Reader) ([]byte, error)
- func CheckQrsync(dirCacheResultFile string, listBucketResultFile string, ignoreLocalDir bool, ...)
- func Fetch(mac *digest.Mac, remoteResUrl, bucket, key string) (err error)
- func GetEtag(filename string) (etag string, err error)
- func Prefetch(mac *digest.Mac, bucket, key string) (err error)
- func PrivateUrl(mac *digest.Mac, publicUrl string, deadline int) string
- func QiniuDownload(threadCount int, downloadConfigFile string)
- func QiniuUpload(threadCount int, uploadConfigFile string)
- func Unzip(zipFilePath string, unzipPath string) (err error)
- type Account
- type AliListBucket
- type DirCache
- type DownloadConfig
- type FopResult
- type FopRet
- type ListBucket
- type RSFop
- type UploadConfig
Constants ¶
View Source
const ( MIN_DOWNLOAD_THREAD_COUNT = 1 MAX_DOWNLOAD_THREAD_COUNT = 100 )
View Source
const ( BLOCK_BITS = 22 // Indicate that the blocksize is 4M BLOCK_SIZE = 1 << BLOCK_BITS )
Variables ¶
This section is empty.
Functions ¶
func CheckQrsync ¶
func PrivateUrl ¶ added in v1.3.7
Types ¶
type Account ¶
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 DirCache ¶
type DirCache struct { }
type DownloadConfig ¶
type FopResult ¶
type FopRet ¶
type UploadConfig ¶
Source Files
¶
- account.go
- alioss_list_bucket.go
- dir_cache.go
- list_bucket.go
- qdownload.go
- qetag.go
- qrsync.go
- qupload.go
- rs.go
- rs_fop.go
- unzip.go
Click to show internal directories.
Click to hide internal directories.