aliyun

package
v0.0.0-...-3654eee Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliOssStore

type AliOssStore struct {
	// contains filtered or unexported fields
}

func NewAliOssStore

func NewAliOssStore(opts *Options) (*AliOssStore, error)

AliOssStore对象的构造函数

func NewDefaultAliOssStore

func NewDefaultAliOssStore() (*AliOssStore, error)

func (*AliOssStore) Upload

func (s *AliOssStore) Upload(bucketName string, objectKey string, fileName string) error

type Options

type Options struct {
	Endpoint     string
	AccessKey    string
	AccessSecret string
}

func (*Options) Validate

func (o *Options) Validate() error

type ProgressListener

type ProgressListener struct {
	// contains filtered or unexported fields
}

func NewDefaultProgressListener

func NewDefaultProgressListener() *ProgressListener

func (*ProgressListener) ProgressChanged

func (p *ProgressListener) ProgressChanged(event *oss.ProgressEvent)

Jump to

Keyboard shortcuts

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