package
Version:
v0.0.0-...-735339e
Opens a new window with list of versions in this module.
Published: Apr 8, 2019
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Delete(accessKey, secretKey, bucket, name string) (err error)
-
func Download(name, domain string) (err error)
-
func Fetch(accessKey, secretKey, bucket, url string) (err error)
-
func Refresh(accessKey, secretKey, bucket string) (list []storage.ListItem, err error)
-
func Upload(accessKey, secretKey, bucket, file string, zone int) (err error)
func Delete(
accessKey,
secretKey,
bucket,
name string,
) (err error)
Delete the file using qiniu's api.
Download the file using http.
func Fetch(
accessKey,
secretKey,
bucket,
url string,
) (err error)
Fetch fetches the url using qiniu's api.
Refresh refreshes the file list.
func Upload(
accessKey,
secretKey,
bucket,
file string,
zone int) (err error)
Upload the file using qiniu's api.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.