adsa-cms: github.com/mmanjoura/adsa-cms/media_library/aliyun Index | Files | Directories

package aliyun

import "github.com/mmanjoura/adsa-cms/media_library/aliyun"

Index

Package Files

aliyun.go

type OSS Uses

type OSS struct {
    media_library.Base
}

OSS aliyun OSS

func (OSS) GetURLTemplate Uses

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

GetURLTemplate get url template

func (OSS) Retrieve Uses

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

Retrieve retrieve file content with url

func (OSS) Store Uses

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

Store store reader's content with url

Directories

PathSynopsis
config

Package aliyun imports 8 packages (graph). Updated 2017-06-20. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).