upload

package
v2.2.15+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2018 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Uploader

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

Uploader struct provides a struct to upload

func Init

func Init(bucket *service.Bucket, partSize int) *Uploader

Init creates a uploader struct

func (*Uploader) Upload

func (u *Uploader) Upload(fd io.Reader, objectKey string) error

Upload uploads multi parts of large object

Jump to

Keyboard shortcuts

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