Documentation ¶
Index ¶
- Variables
- func CreateTempQrcode(id int32) (*qrcode.TempQrcode, error)
- func Decode(s string) (ids []int)
- func Encode(ids []int) (s string)
- func GetBindQrcode(uid int) (url string, err error)
- func SendArticle(openID, title, description, picURL, url string) (err error)
- func SendEmail(address, title, body string) (err error)
- func SendText(openID, text string) (err error)
- func SetWebGetSignTaskValueForWechatPush(str, openID string) bool
- func WechatServe(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var Hid *hashids.HashID
Hid ...
Functions ¶
func CreateTempQrcode ¶
func CreateTempQrcode(id int32) (*qrcode.TempQrcode, error)
CreateTempQrcode 创建临时二维码
func SendArticle ¶
SendArticle 发送文章
func SetWebGetSignTaskValueForWechatPush ¶
SetWebGetSignTaskValueForWechatPush ..
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.