Documentation
¶
Overview ¶
* @Author: qida * @Date: 2019-06-14 13:12:45 * @LastEditors: qida * @LastEditTime: 2022-01-07 16:45:55 * @Description:
Index ¶
- Variables
- func ClientDebug(ip string, port int)
- func Email()
- func ServerDebug(port int)
- type Robot
- func (robot *Robot) SendLinkMessage(title string, text string, messageUrl string, picUrl string) error
- func (robot *Robot) SendMarkdownMessage(title string, text string, atMobiles []string, isAtAll bool) error
- func (robot *Robot) SendMessage(msg interface{}) error
- func (robot *Robot) SendTextMessage(content string, atMobiles []string, isAtAll bool) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LogConn = logs.NewLogger(1000) LogTcp = logs.NewLogger(1000) LogMail = logs.NewLogger(1000) Enc = mahonia.NewEncoder("gb18030") )
View Source
var (
DebugList map[string]*tcp.Client
)
Functions ¶
func ClientDebug ¶
func ServerDebug ¶
func ServerDebug(port int)
Types ¶
type Robot ¶
type Robot struct {
// contains filtered or unexported fields
}
func (*Robot) SendLinkMessage ¶
func (*Robot) SendMarkdownMessage ¶
func (*Robot) SendMessage ¶
Click to show internal directories.
Click to hide internal directories.