Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email struct { From string `validate:"required"` Subject string `validate:"required"` Body string `validate:"required"` Style EmailStyle `validate:"required"` Destinations []string `validate:"required,dive,required"` }
type EmailService ¶
func GetEmailService ¶
func GetEmailService(option cloud.Option) (EmailService, error)
func GetTencentCloudEmailService ¶
func GetTencentCloudEmailService(option cloud.Option) (EmailService, error)
type EmailStyle ¶
type EmailStyle string
const ( EmailStyleHTML EmailStyle = "html" EmailStyleText EmailStyle = "text" )
type TencentCloudEmailService ¶
type TencentCloudEmailService struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.