third

package
v0.0.0-...-712f093 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2015 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QiniuKey

func QiniuKey(uri string) string

Types

type QiniuHelper

type QiniuHelper struct {
	AccessKey  string
	SecretKey  string
	BucketName string
	Domain     string
	// contains filtered or unexported fields
}

func NewQiniuHelper

func NewQiniuHelper(accessKey, secretKey string, cache object.Cache) *QiniuHelper

func (*QiniuHelper) Del

func (helper *QiniuHelper) Del(bucket string, key string) error

func (*QiniuHelper) Put

func (helper *QiniuHelper) Put(bucket string, key string, rd sysio.Reader, size int64) (string, error)

func (*QiniuHelper) PutFile

func (helper *QiniuHelper) PutFile(bucket string, key string, fn string) (string, error)

Jump to

Keyboard shortcuts

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