s3

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UnsupportBucketFormatErr = errors.New("unsupported bucket format")

Functions

This section is empty.

Types

type Bucket

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

func (*Bucket) Download

func (b *Bucket) Download(oid string, dst io.WriterAt) error

func (*Bucket) Upload

func (b *Bucket) Upload(oid string, src io.ReadSeeker) error

type Factory

type Factory struct {
	Region   string
	Bucket   string
	Prefix   string
	Endpoint string
	Profile  string
}

func (*Factory) New

func (f *Factory) New() (storage.Container, error)

Jump to

Keyboard shortcuts

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