s3

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: 16 Imported by: 0

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)

type Session

type Session struct {
	// contains filtered or unexported fields
}

func NewSession

func NewSession(arg args.Args) *Session

Jump to

Keyboard shortcuts

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