Documentation ¶
Overview ¶
*
- 七牛云
*
- 腾讯云
Index ¶
- func GenSmsValidateCode(width int) string
- func SendAliyun(conf *config.SmsConfig, phoneNums string, content string) (string, error)
- func SendEmail(op *config.Options, content interface{}, call FillEmailCallback) error
- func SendQiNiuYun(config *config.SmsConfig, phone string, content string) (string, error)
- func SendSms(config *config.SmsConfig, phone string, content interface{}, ...) (string, error)
- func SendTencentYun(config *config.SmsConfig, phone string, content string) (string, error)
- type FillEmailCallback
- type SmsFillContentCallback
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendAliyun ¶ added in v1.8.4
https://help.aliyun.com/document_detail/55491.html?spm=a2c4g.11186623.6.658.2b573144YbPBi1 https://api.aliyun.com/?spm=a2c4g.11186623.2.13.796556e0tRbdOf#/?product=Dysmsapi&api=SendSms
func SendEmail ¶
func SendEmail(op *config.Options, content interface{}, call FillEmailCallback) error
func SendQiNiuYun ¶ added in v1.8.4
Types ¶
type SmsFillContentCallback ¶
type SmsFillContentCallback func(interface{}) string
Click to show internal directories.
Click to hide internal directories.