Documentation ¶
Overview ¶
@Author: Ciusyan 2023/2/8
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliOssStore ¶
type AliOssStore struct {
// contains filtered or unexported fields
}
func NewAliOssStore ¶
func NewAliOssStore(client *oss.Client, coverPath, coverStyle string) *AliOssStore
NewAliOssStore 是否需要直接保存持久化封面
func (*AliOssStore) Delete ¶
func (a *AliOssStore) Delete(bucketName string, filePaths ...string) error
Delete 删除 Object
func (*AliOssStore) Upload ¶
func (s *AliOssStore) Upload(param *store.UploadParam) (*store.UploadResult, error)
Upload 上传文件到 阿里云的 OSS
Click to show internal directories.
Click to hide internal directories.