Documentation
¶
Index ¶
Constants ¶
View Source
const AliOss = "aliyun-oss"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
func NewDownloader ¶
func NewDownloader(arg args.Args) *Downloader
func (*Downloader) Start ¶
func (d *Downloader) Start()
func (*Downloader) StatTicker ¶
func (d *Downloader) StatTicker(tick time.Duration)
type OfficialDownloader ¶
type OfficialDownloader struct {
// contains filtered or unexported fields
}
func NewOfficialDownloader ¶
func NewOfficialDownloader(arg args.Args, options ...oss.Option) *OfficialDownloader
func (*OfficialDownloader) GetObject ¶
func (d *OfficialDownloader) GetObject(key string) (int64, error)
GetObjectSample shows the streaming download, range download and resumable download.
func (*OfficialDownloader) GetTestBucket ¶
func (d *OfficialDownloader) GetTestBucket(arg args.Args) error
GetTestBucket creates the test bucket
func (*OfficialDownloader) Start ¶
func (d *OfficialDownloader) Start()
func (*OfficialDownloader) Stat ¶
func (d *OfficialDownloader) Stat() string
func (*OfficialDownloader) StatTicker ¶
func (s *OfficialDownloader) StatTicker(tick time.Duration)
type UnofficialDownloader ¶
type UnofficialDownloader struct {
// contains filtered or unexported fields
}
func NewUnofficialDownloader ¶
func NewUnofficialDownloader(arg args.Args) *UnofficialDownloader
func (*UnofficialDownloader) GetObject ¶
func (d *UnofficialDownloader) GetObject(key string) (int64, error)
GetObjectSample shows the streaming download, range download and resumable download.
func (*UnofficialDownloader) GetTestBucket ¶
func (d *UnofficialDownloader) GetTestBucket(arg args.Args) error
GetTestBucket creates the test bucket
func (*UnofficialDownloader) Start ¶
func (d *UnofficialDownloader) Start()
func (*UnofficialDownloader) Stat ¶
func (d *UnofficialDownloader) Stat() string
func (*UnofficialDownloader) StatTicker ¶
func (s *UnofficialDownloader) StatTicker(tick time.Duration)
Click to show internal directories.
Click to hide internal directories.