Documentation
¶
Index ¶
- func GetMonitor() tb.Recipient
- func GetNormal() tb.Recipient
- func Init(ServerAndNodeName string, AccessToken string, ChatID string, ...)
- func SendFailed(location string, err error)
- func SendMessage(message string, silent bool, chat ...tb.Recipient)
- func SendMessageAt(message string, at time.Time, silent bool, chat ...tb.Recipient)
- func SendStarted(hostname string, localIP string, pubIP string)
- func SendStopped(hostname string, localIP, pubIP string)
- type Chat
- type MonitorChat
- type NormalChat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMonitor ¶
func SendFailed ¶
func SendMessageAt ¶
func SendStarted ¶
func SendStopped ¶
Types ¶
type MonitorChat ¶ added in v0.0.7
type MonitorChat Chat
func (MonitorChat) Recipient ¶ added in v0.0.7
func (mc MonitorChat) Recipient() string
type NormalChat ¶ added in v0.0.7
type NormalChat Chat
func (NormalChat) Recipient ¶ added in v0.0.7
func (nc NormalChat) Recipient() string
Click to show internal directories.
Click to hide internal directories.