Documentation
¶
Index ¶
- func GenSmsValidateCode(width int) string
- func SendEmail(op *options.Options, content interface{}, call FillEmailCallback) error
- func SendFeiShu(option *options.Options, content interface{}, call FeiShuFillContentCallback) error
- func SendSms(config *options.SmsConfig, phone string, content interface{}, ...) (string, error)
- func SendWxWork(option *options.Options, content interface{}, call WxWorkFillContentCallback) error
- type FeiShuFillContentCallback
- type FillEmailCallback
- type SmsFillContentCallback
- type WxWorkFillContentCallback
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendEmail ¶
func SendEmail(op *options.Options, content interface{}, call FillEmailCallback) error
func SendFeiShu ¶
func SendFeiShu(option *options.Options, content interface{}, call FeiShuFillContentCallback) error
func SendWxWork ¶
func SendWxWork(option *options.Options, content interface{}, call WxWorkFillContentCallback) error
Types ¶
type SmsFillContentCallback ¶
type SmsFillContentCallback func(interface{}) string
Click to show internal directories.
Click to hide internal directories.