Documentation
¶
Index ¶
- func InitSmtp() (err error)
- func LoginAuth(username, password string) smtp.Auth
- func Send(subject string, msg string) error
- func SendSshBanned(ip string, to string, reason string)
- func SendSshSuccess(ip string, to string, mark string)
- func SendStart()
- func SendStop(exitcode int, numGoroutine int)
- func SendTcpNotAccept()
- func SendTcpReAccept()
- func SendTcpStopAccept()
- func SendWaitStop(reason string)
- type Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendSshBanned ¶
func SendSshSuccess ¶
func SendTcpNotAccept ¶
func SendTcpNotAccept()
func SendTcpReAccept ¶
func SendTcpReAccept()
func SendTcpStopAccept ¶
func SendTcpStopAccept()
func SendWaitStop ¶
func SendWaitStop(reason string)
Types ¶
Click to show internal directories.
Click to hide internal directories.