notify

package module
v0.0.0-...-34056af Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: MIT Imports: 1 Imported by: 0

README

消息通知

  • 邮件
  • 钉钉
  • 短信(TODO)
  • 电话(TODO)
  • 企业微信(TODO)
  • webhook(TODO)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Retry

func Retry(notice Notifier, count int) error

重试

Types

type Notifier

type Notifier interface {
	Notify(ctx context.Context) error
	Type() string
}

Notifier

Directories

Path Synopsis
# @Author ww # @Time 2019/10/28 17:33 # @File dingtalk_config.go # @Author ww # @Time 2019/10/15 13:54 # @File email_config.go # @Author ww # @Time 2019/11/5 14:25 # @File sms_config.go
# @Author ww # @Time 2019/10/28 17:33 # @File dingtalk_config.go # @Author ww # @Time 2019/10/15 13:54 # @File email_config.go # @Author ww # @Time 2019/11/5 14:25 # @File sms_config.go
# @Author ww # @Time 2019/10/28 17:51 # @File token.go
# @Author ww # @Time 2019/10/28 17:51 # @File token.go
# @Author ww # @Time 2019/10/28 10:01 # @File log.go
# @Author ww # @Time 2019/10/28 10:01 # @File log.go
# @Author ww # @Time 2019/11/5 11:50 # @File model.go # @Author ww # @Time 2019/11/5 13:45 # @File msg.go # @Author ww # @Time 2019/11/5 11:50 # @File mysql.go
# @Author ww # @Time 2019/11/5 11:50 # @File model.go # @Author ww # @Time 2019/11/5 13:45 # @File msg.go # @Author ww # @Time 2019/11/5 11:50 # @File mysql.go
# @Author ww # @Time 2019/10/11 9:20 # @File webhook.go.go
# @Author ww # @Time 2019/10/11 9:20 # @File webhook.go.go

Jump to

Keyboard shortcuts

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