notify

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: Zlib Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenSmsValidateCode

func GenSmsValidateCode(width int) string

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

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 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 DingFillContentCallback added in v0.3.2

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

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