cos

package
v0.0.0-...-df452d9 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Upload

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

func NewUpload

func NewUpload(filepath, secretID, secretKey, region, bucketName string, ctx context.Context) *Upload

func (*Upload) Download

func (u *Upload) Download() (err error)

func (*Upload) UploadFile

func (u *Upload) UploadFile() (err error)

Jump to

Keyboard shortcuts

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