qiniu

package
v0.0.0-...-045f52c Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2015 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Uptoken       = ""
	DownloadToken = ""
	Bucket        = ""
	EndPoint      = ""
)

Functions

This section is empty.

Types

type Qiniu

type Qiniu struct {
	media_library.Base
}

func (Qiniu) GetURLTemplate

func (q Qiniu) GetURLTemplate(option *media_library.Option) (path string)

func (Qiniu) Retrieve

func (q Qiniu) Retrieve(url string) (*os.File, error)

func (Qiniu) Store

func (q Qiniu) Store(url string, option *media_library.Option, reader io.Reader) (err error)

Jump to

Keyboard shortcuts

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