logics

package
v0.0.0-...-9b971e3 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OssDeleteFile

func OssDeleteFile(ctx context.Context, ossKey string) error

OssDeleteFile 删除OSS文件

func OssDownloadFile

func OssDownloadFile(ctx context.Context, model models.OssTransferModel) error

OssDownloadFile 从OSS上下载文件到本地

func OssGetStsToken

func OssGetStsToken(ctx context.Context) (*models.OssStsTokenModel, error)

OssGetStsToken 获取STS Token

func OssGetTempUrl

func OssGetTempUrl(ctx context.Context, model models.OssTempUrlReqModel) (string, error)

OssGetTempUrl 授权访问:获取临时链接

func OssUploadFile

func OssUploadFile(ctx context.Context, model models.OssTransferModel) error

OssUploadFile 上传文件至OSS

func SendEmail

func SendEmail(ctx context.Context, model models.EmailContentModel) error

SendEmail 发送邮件

Types

This section is empty.

Jump to

Keyboard shortcuts

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