Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFileOpen = errors.New("文件打开失败")
Functions ¶
This section is empty.
Types ¶
type OSS ¶
type OSS struct {
// contains filtered or unexported fields
}
func (*OSS) DeleteFile ¶
func (o *OSS) DeleteFile(key ...string) (oss.DeleteObjectsResult, error)
DeleteFile 删除文件 通过key删除对应文件
func (*OSS) UploadFile ¶
UploadFile 上传文件 返回 访问地址,文件key,error
Click to show internal directories.
Click to hide internal directories.