upload

package
v0.0.68 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompleteMultipartUpload

func CompleteMultipartUpload(
	filePath string,
	md5Sum string) error

func UploadFile added in v0.0.2

func UploadFile(
	r io.Reader,
	filePath string,
	md5Sum string,
) error

func UploadMultipart

func UploadMultipart(
	r io.Reader,
	partInput *UploadPartInput,
	filePath string,
) error

Types

type UploadPartInput

type UploadPartInput struct {
	PartId uint32
	Offset int64
	Length int64
	Md5Sum string
}

Jump to

Keyboard shortcuts

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