oss

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() corefile.Driver

Types

type Oss

type Oss struct {
	Client *oss.Client
	Bucket *oss.Bucket
}

func (*Oss) GetMode

func (m *Oss) GetMode() (data interface{}, err error)

func (*Oss) New

func (m *Oss) New() corefile.Driver

func (*Oss) Upload

func (m *Oss) Upload(ctx g.Ctx) (string, error)

func (*Oss) UploadFile

func (m *Oss) UploadFile(ctx g.Ctx, filePath string) (string, error)

上传文件

Jump to

Keyboard shortcuts

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