oss

package
v0.0.0-...-1a88513 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFileAES256Customer

func DownloadFileAES256Customer(key string, bucketUrl string, secretID string, secretKey string, customerKey string, endpoint string) (bodyBytes []byte, err error)

Types

type Maliyuncos

type Maliyuncos struct {
}

func (*Maliyuncos) DownloadFileAES256

func (p *Maliyuncos) DownloadFileAES256(key string) (bodyBytes []byte, err error)

func (*Maliyuncos) UploadFile

func (p *Maliyuncos) UploadFile(fileName string, filePath string) (fileUrl string, err error)

func (*Maliyuncos) UploadFileAES256

func (p *Maliyuncos) UploadFileAES256(fileName string, filePath string) (key string, err error)

func (*Maliyuncos) UploadFileAES256ByTenantPath

func (p *Maliyuncos) UploadFileAES256ByTenantPath(tenantId uint64, appName string, fileName string, filePath string) (key string, err error)

func (*Maliyuncos) UploadFileByTenantPath

func (p *Maliyuncos) UploadFileByTenantPath(tenantId uint64, appName string, fileName string, filePath string) (fileUrl string, err error)

UploadFileByTenantPath 通过租户应用目录上传文件 返回地址可以直接下载

Jump to

Keyboard shortcuts

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