notify

package
v1.10.8 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

README

Notify

封装了钉钉,邮件,slack,telegram,企业微信的消息通知组件

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONPost

func JSONPost(method, url string, data interface{}, client *http.Client) ([]byte, error)

JSONPost Post req json data to url

Types

type Sender

type Sender interface {
	Send(to []string, title string, content string) error
}

Sender it send notify to user

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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