Documentation ¶
Index ¶
- func DownloadFileAES256Customer(key string, bucketUrl string, secretID string, secretKey string, ...) (bodyBytes []byte, err error)
- type Maliyuncos
- func (p *Maliyuncos) DownloadFileAES256(key string) (bodyBytes []byte, err error)
- func (p *Maliyuncos) UploadFile(fileName string, filePath string) (fileUrl string, err error)
- func (p *Maliyuncos) UploadFileAES256(fileName string, filePath string) (key string, err error)
- func (p *Maliyuncos) UploadFileAES256ByTenantPath(tenantId uint64, appName string, fileName string, filePath string) (key string, err error)
- func (p *Maliyuncos) UploadFileByTenantPath(tenantId uint64, appName string, fileName string, filePath string) (fileUrl string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 (*Maliyuncos) UploadFileByTenantPath ¶
func (p *Maliyuncos) UploadFileByTenantPath(tenantId uint64, appName string, fileName string, filePath string) (fileUrl string, err error)
UploadFileByTenantPath 通过租户应用目录上传文件 返回地址可以直接下载
Click to show internal directories.
Click to hide internal directories.