oss

package
v0.0.0-...-16f3fb8 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFile

func GetFile(bucket, path string) (io.ReadCloser, error)

func InitSaver

func InitSaver(region, accessKeyId, accessKeySecret string)

func PutFile

func PutFile(bucket, path string, file io.Reader, size int64) error

Types

type Alioss

type Alioss struct {
	Region          string `goblet:"region,beijing"`
	AccessKeyId     string `goblet:"access_id"`
	AccessKeySecret string `goblet:"access_secret"`
}

func (*Alioss) AddCfgAndInit

func (s *Alioss) AddCfgAndInit(server *goblet.Server) error

func (*Alioss) Init

func (r *Alioss) Init(server *goblet.Server) error

Jump to

Keyboard shortcuts

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