models

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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailContentModel

type EmailContentModel struct {
	Receiver        []string    // 接收人
	Subject         string      // 主题
	Type            string      // 邮件类型:html | plain(默认html)
	Body            string      // 邮件内容(支持golang模板语言)
	Vars            interface{} // 邮件内容变量
	AttachLocalFile string      // 本地文件作为附件
	AttachOssKey    string      // oss文件作为附件
	AttachName      string      // 附件名称
}

EmailContentModel 邮件内容

type OssStsTokenModel

type OssStsTokenModel struct {
	SecurityToken   string `json:"securityToken"`
	AccessKeyId     string `json:"accessKeyId"`
	AccessKeySecret string `json:"accessKeySecret"`
	Bucket          string `json:"bucket"`
	Region          string `json:"region"`
}

OssStsTokenModel STS Token

type OssTempUrlReqModel

type OssTempUrlReqModel struct {
	Key  string `json:"key"`
	Name string `json:"name"`
}

OssTempUrlReqModel 获取文件临时链接参数

type OssTransferModel

type OssTransferModel struct {
	LocalFilePath string
	OssKey        string
}

OssTransferModel 上传文件参数

Jump to

Keyboard shortcuts

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