aliyun

package
v0.0.0-...-8c4fe33 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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