upload

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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