oss

package
v0.0.0-...-bdd2a71 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OssLogic

type OssLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewOssLogic

func NewOssLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OssLogic

func (*OssLogic) Delete

func (l *OssLogic) Delete(objectName string)

func (*OssLogic) MultiDelete

func (l *OssLogic) MultiDelete(objectNames []string)

func (*OssLogic) MultiUpload

func (l *OssLogic) MultiUpload(fileHeaders []multipart.FileHeader, userId string) ([]string, []string, error)

func (*OssLogic) Upload

func (l *OssLogic) Upload(fileHeader *multipart.FileHeader, userId string) (string, string, error)

func (*OssLogic) UploadRaw

func (l *OssLogic) UploadRaw(file io.Reader, filename, userId string) (string, string, error)

Jump to

Keyboard shortcuts

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