aliyunoss

package
v0.0.0-...-aa81a11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL