package
0.0.0-20191125124719-ef91ec3f8ddb
Repository: https://github.com/pibigstar/go-todo.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CheckJwtToken 检查token是否有效.
CheckJwtTokenExpected 检查token是否过期.
日期格式化:2006-01-02.
No description provided by the author
ErrorReponse 错误返回体.
No description provided by the author
GenJwtToken 生成token.
GenOpenIDToken 根据OPenID生成token.
GenSecretToken 根据secret生成token.
GetOpenIDFromToken 从token中拿到openid.
GetUUID 获取uuid.
Md5 md5加密.
ParseJwtToken 解析token.
SendTemplate 发送模板消息.
No description provided by the author
SuccessReponse 成功返回体.
successWithData 成功返回体.
日期格式化:2006-01-02 15:04:05.

# Variables

No description provided by the author
TermOfValidity 有效期7天.
TokenClaimEXP 有效期标识.
TokenClaimOpenID 用户OpenID标识.

# Structs

后台的Response,为了兼容.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Response 封装请求返回体.
No description provided by the author
No description provided by the author
No description provided by the author