comm

package
v0.0.0-...-735339e Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(
	accessKey,
	secretKey,
	bucket,
	name string,
) (err error)

Delete the file using qiniu's api.

func Download

func Download(
	name, domain string) (err error)

Download the file using http.

func Fetch

func Fetch(
	accessKey,
	secretKey,
	bucket,
	url string,
) (err error)

Fetch fetches the url using qiniu's api.

func Refresh

func Refresh(
	accessKey,
	secretKey,
	bucket string,
) (
	list []storage.ListItem,
	err error,
)

Refresh refreshes the file list.

func Upload

func Upload(
	accessKey,
	secretKey,
	bucket,
	file string,
	zone int) (err error)

Upload the file using qiniu's api.

Types

This section is empty.

Jump to

Keyboard shortcuts

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