sender

package
v0.0.0-...-fbd1cd9 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendBark

func SendBark(serverURL string, title string, msg string)

Bark 发送

func SendLark

func SendLark(webhookURL string, title string, content string, isCard bool)

飞书发送

func SendWebHook

func SendWebHook(url string, reqData *NotifyWebHookReqBody)

WebHook 发送

Types

type NotifyWebHookReqBody

type NotifyWebHookReqBody struct {
	NotifySubject string      `json:"notify_subject"`
	NotifyBody    string      `json:"notify_body"`
	Comment       interface{} `json:"comment"`
	ParentComment interface{} `json:"parent_comment"`
}

Jump to

Keyboard shortcuts

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