aliyunOSS

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OssClient

type OssClient struct {
	Endpoint           string
	AccessKeyId        string
	AccessKeySecret    string
	ReadWriteTimeout   int64
	HttpConnectTimeout int64
}

func (OssClient) DeleteFile

func (c OssClient) DeleteFile(bucketName, objectName string) error

func (OssClient) DownloadFile

func (c OssClient) DownloadFile(bucketName, objectName, downloadedFileName string) error

func (OssClient) GetFileList

func (c OssClient) GetFileList(bucketName string) ([]string, error)

func (OssClient) UpdateFile

func (c OssClient) UpdateFile(bucketName, objectName, localFileName string) error

Jump to

Keyboard shortcuts

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