aliyun

package
v0.0.0-...-7c6ac54 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSS

type OSS struct {
	media_library.Base
}

OSS aliyun OSS

func (OSS) GetURLTemplate

func (s OSS) GetURLTemplate(option *media_library.Option) (path string)

GetURLTemplate get url template

func (OSS) Retrieve

func (s OSS) Retrieve(url string) (file *os.File, err error)

Retrieve retrieve file content with url

func (OSS) Store

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

Store store reader's content with url

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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