MCPcopy Create free account
hub / github.com/YouChenJun/Keydd / TestSendmesg

Function TestSendmesg

notify/feishu_test.go:9–19  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

7)
8
9func TestSendmesg(t *testing.T) {
10 fmt.Println("qqq")
11 task := &consts2.Keyinfo{
12 RuleName: "微信APPid",
13 Host: "192.168.56.1",
14 Req_Path: "/",
15 Key_text: "https://open.feishu.cn/open-apis/bot/v2/hook/",
16 Content_Type: "text/html",
17 }
18 TaskBeginSendmsg(task)
19}

Callers

nothing calls this directly

Calls 1

TaskBeginSendmsgFunction · 0.85

Tested by

no test coverage detected