repository

package
v0.0.0-...-3244c54 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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 Decode

func Decode(s string) (ids []int)

Decode 解密

func Encode

func Encode(ids []int) (s string)

Encode 加密

func GetBindQrcode

func GetBindQrcode(uid int) (url string, err error)

GetBindQrcode 站点获取签名任务

func SendArticle

func SendArticle(openID, title, description, picURL, url string) (err error)

SendArticle 发送文章

func SendEmail

func SendEmail(address, title, body string) (err error)

SendEmail 发送邮件

func SendText

func SendText(openID, text string) (err error)

SendText 发送文本

func SetWebGetSignTaskValueForWechatPush

func SetWebGetSignTaskValueForWechatPush(str, openID string) bool

SetWebGetSignTaskValueForWechatPush ..

func WechatServe

func WechatServe(w http.ResponseWriter, r *http.Request)

WechatServe 微信接口服务

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL