Documentation
¶
Index ¶
- func AdvertisingSms(targets ...string) *optionSms
- func AkSk(ak string, sk string) *optionAkSk
- func AppKey(key string) *optionAppKey
- func BCC(emails ...string) *optionBCC
- func CC(emails ...string) *optionCC
- func CommonSms(target string) *optionSms
- func EmailAuth(host string, port int, username string, password string) *optionEmailAuth
- func HtmlEmail(name string, from string, to ...string) *optionEmailContent
- func NewOptions(opts ...option) []option
- func NotifySms(target string) *optionSms
- func PlainEmail(name string, from string, to ...string) *optionEmailContent
- func Subject(subject string) *optionSubject
- func Template(data interface{}) *optionTemplate
- type Chuangcache
- type Email
- type EmailType
- type SmsType
- type Type
- type Una
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PlainEmail ¶
PlainEmail 配置普通邮件
Types ¶
type Chuangcache ¶ added in v1.0.2
type Chuangcache struct {
// contains filtered or unexported fields
}
Chuangcache 创世云短信
func NewChuangcache ¶ added in v1.0.2
func NewChuangcache(resty *resty.Request) (chuangcache *Chuangcache)
NewChuangcache 创建创世云短信
Source Files
¶
- chuangcache.go
- chuangcache_api_base.go
- chuangcache_api_sms.go
- chuangcache_api_token.go
- chuangcache_config.go
- chuangcache_token.go
- email.go
- email_config.go
- email_type.go
- option.go
- option_ak_sk.go
- option_app_key.go
- option_bcc.go
- option_cc.go
- option_email_auth.go
- option_email_content.go
- option_sms.go
- option_subject.go
- option_template.go
- options.go
- pangu.go
- sms_type.go
- type.go
- una.go
- una_internal.go
- una_template.go
Click to show internal directories.
Click to hide internal directories.