aliyun

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBucket

func NewBucket(cfg *config.FSCfg) (*oss.Bucket, error)

Types

type AliyunOSS

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

func New

func New(cfg *config.FSCfg) *AliyunOSS

func (*AliyunOSS) DeleteFile

func (e *AliyunOSS) DeleteFile(key string) error

func (*AliyunOSS) UploadFile

func (e *AliyunOSS) UploadFile(file *multipart.FileHeader) (filePath string, fileKey string, err error)

Jump to

Keyboard shortcuts

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