Documentation ¶
Index ¶
- func Error(args ...interface{})
- func ErrorMD(lines []string)
- func Errorf(format string, a ...interface{})
- func Info(args ...interface{})
- func InfoMD(lines []string)
- func Infof(format string, a ...interface{})
- func SendRobotMarkdown(key string, lines []string)
- func SendRobotMsg(key, tp, content string)
- func SetDebug()
- func Warn(args ...interface{})
- func WarnMD(lines []string)
- func Warnf(format string, a ...interface{})
- type MsgMarkdown
- type MsgText
- type RobotMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendRobotMarkdown ¶
SendRobotMarkdown 向机器人发送 Markdown 通知
Types ¶
type RobotMsg ¶
type RobotMsg struct { MsgType string `json:"msgtype"` Text *MsgText `json:"text,omitempty"` MarkDown *MsgMarkdown `json:"markdown,omitempty"` }
RobotMsg 群机器人消息
Click to show internal directories.
Click to hide internal directories.