qiniu

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manage

type Manage struct {
	AccessKey string
	SecretKey string
	Bucket    string
	Domain    string
}

func (*Manage) GetFileUrl

func (data *Manage) GetFileUrl(fileName string) string

获取文件私有空间链接

func (*Manage) GetQiniuFileList

func (data *Manage) GetQiniuFileList(path string) []storage.ListItem

获取文件列表

func (*Manage) GetQiniuUploadToken

func (data *Manage) GetQiniuUploadToken() string

func (*Manage) QiniuFileBatchDel

func (data *Manage) QiniuFileBatchDel(list []string)

批量删除文件

func (*Manage) QiniuFileCopy added in v1.0.6

func (data *Manage) QiniuFileCopy(fileName string, path string) (string, error)

文件复制

func (*Manage) QiniuFileMove

func (data *Manage) QiniuFileMove(fileName string, path string) (string, error)

文件移动

func (*Manage) QiniuFileRemove

func (data *Manage) QiniuFileRemove(fileName string)

删除文件

Jump to

Keyboard shortcuts

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