Documentation ¶
Index ¶
- func GenSmsValidateCode(width int) string
- func SendDingTalk(option *options.Options, content interface{}, call DingFillContentCallback) error
- 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 DingFillContentCallback
- type FeiShuFillContentCallback
- type FillEmailCallback
- type SmsFillContentCallback
- type WxWorkFillContentCallback
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendDingTalk ¶ added in v0.3.2
func SendDingTalk(option *options.Options, content interface{}, call DingFillContentCallback) error
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 DingFillContentCallback ¶ added in v0.3.2
type SmsFillContentCallback ¶
type SmsFillContentCallback func(interface{}) string
Click to show internal directories.
Click to hide internal directories.