txcloud

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteFile

func DeleteFile(key string) (err error)

删除单个文件 key:对象键(Key)是对象在存储桶中的唯一标识。例如,在对象的访问域名examplebucket-1250000000.cos.ap-guangzhou.myqcloud.com/doc/pic.jpg中,对象键为 doc/pic.jpg

func DeleteFiles

func DeleteFiles(keys []string) (err error)

删除多个文件

func UploadFile

func UploadFile(f io.Reader, fpath string) (downloadURL string, err error)

上传文件到腾讯云(图片,合同等持久化保存等文件)

Types

This section is empty.

Jump to

Keyboard shortcuts

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