aliyun_oss

package
v0.0.0-...-12d990b Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliyunOss

type AliyunOss struct {
	*setting.App
	*setting.AliyunOSS

	Bucket *oss.Bucket
	// contains filtered or unexported fields
}

func NewAliyunOss

func NewAliyunOss(appSetting *setting.App, ossSetting *setting.AliyunOSS) *AliyunOss

func (*AliyunOss) Delete

func (a *AliyunOss) Delete(name ...string) (int, error)

func (*AliyunOss) GetAccessUrl

func (a *AliyunOss) GetAccessUrl(prefix, name string) string

func (*AliyunOss) Save

func (a *AliyunOss) Save(p string, header *multipart.FileHeader) error

Jump to

Keyboard shortcuts

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