Documentation ¶
Index ¶
Constants ¶
View Source
const ( Aws = "aws-s3" Ceph = "ceph-s3" )
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) GetObject ¶
func (d *Downloader) GetObject(key string) (int64, error)
GetObjectSample shows the streaming download, range download and resumable download.
func (*Downloader) Start ¶
func (d *Downloader) Start()
func (*Downloader) Stat ¶
func (d *Downloader) Stat() string
func (*Downloader) StatTicker ¶
func (s *Downloader) StatTicker(tick time.Duration)
Click to show internal directories.
Click to hide internal directories.