notify

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2022 License: Zlib Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenSmsValidateCode

func GenSmsValidateCode(width int) string

* 随机几位数字验证码生成

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 SendSms

func SendSms(config *options.SmsConfig, phone string, content interface{}, call SmsFillContentCallback) (string, error)

func SendWxWork

func SendWxWork(option *options.Options, content interface{}, call WxWorkFillContentCallback) error

Types

type FeiShuFillContentCallback

type FeiShuFillContentCallback func(*options.Options, interface{}) string

type FillEmailCallback

type FillEmailCallback func(*options.Options, interface{}) *bytes.Buffer

type SmsFillContentCallback

type SmsFillContentCallback func(interface{}) string

type WxWorkFillContentCallback

type WxWorkFillContentCallback func(*options.Options, interface{}) string

Directories

Path Synopsis
* * 七牛云 * * 腾讯云
* * 七牛云 * * 腾讯云

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL