package
Version:
v1.10.8
Opens a new window with list of versions in this module.
Published: Sep 20, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewLark init a Lark send conf
type Content struct {
Text string `json:"text"`
}
type Lark struct {
MsgType string `json:"msg_type"`
WebHookUrl string `json:"web_hook_url"`
Sl Secure `json:"sl"`
Secret string `json:"secret"`
}
Lark alarm conf
Send to notify tos is phone number
type Result struct {
Code int `json:"code"`
Msg string `json:"msg"`
}
Result post resp
type SendMsg struct {
Timestamp string `json:"timestamp"`
Sign string `json:"sign"`
MsgType string `json:"msg_type"`
Content Content `json:"content"`
}
SendMsg post json data
Source Files
¶
Click to show internal directories.
Click to hide internal directories.