Documentation ¶
Overview ¶
Package services provide general struct and function used by all other services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendMessage ¶
func SendMessage(msg Msg, status int, w http.ResponseWriter)
SendMessage send json data to client
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package macos is used to send notifications to macOS
|
Package macos is used to send notifications to macOS |
Package slack is used to send Slack messages
|
Package slack is used to send Slack messages |
Package smtp is used to send emails through SMTP
|
Package smtp is used to send emails through SMTP |
Package telegram is used to send Telegram messages
|
Package telegram is used to send Telegram messages |
Package twilio is used to send SMS through twilio platform
|
Package twilio is used to send SMS through twilio platform |
Package wechat is used to send WeChat messages Coding according to this document: https://github.com/biezhi/wechat-robot/blob/master/doc/protocol.md http://www.sunrui123.com/archives/15
|
Package wechat is used to send WeChat messages Coding according to this document: https://github.com/biezhi/wechat-robot/blob/master/doc/protocol.md http://www.sunrui123.com/archives/15 |
Click to show internal directories.
Click to hide internal directories.