storage

package
v0.0.0-...-41edef4 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

https://docs.cloudbase.net/api-reference/openapi/storage.html

func NewStorage

func NewStorage(context *context.Context, core *component.Core) *Storage

创建实例

func (*Storage) BatchDelete

func (s *Storage) BatchDelete(data interface{}) (out interface{}, err error)

批量删除文件

func (*Storage) BatchGetTempUrls

func (s *Storage) BatchGetTempUrls(data interface{}) (out interface{}, err error)

获取文件下载链接

func (*Storage) GetUploadMetaData

func (s *Storage) GetUploadMetaData(data interface{}) (out interface{}, err error)

获取文件上传属性

Jump to

Keyboard shortcuts

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