package
2.0.5+incompatible
Repository: https://github.com/3xxx/engineercms.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package wkhtmltopdf contains wrappers around the wkhtmltopdf commandline tool.
No description provided by the author

# Functions

No description provided by the author
allow cors.
No description provided by the author
自动提取文章摘要.
No description provided by the author
No description provided by the author
校验token是否有效 返回参数.
No description provided by the author
convert time string(yyyy-MM-dd HH:mm:ss) to Time object.
convert Time object to string(yyyy-MM-dd).
convert Time object to string(yyyy-MM-dd HH:mm:ss).
convert Time object to string(HH:mm:ss).
使用这个生成token.
No description provided by the author
解码.
disable cache.
编码.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
验证token时效性.
用文件前面几个字节来判断 fSrc: 文件字节流(就用前面几个字节).
get host from request.
get ip from request.
get mysql url.
get cookieAuthKey from request.
human readable file size.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
随机字符串.
No description provided by the author
服务端生成token,并放入到response的header* JWT由三部份组成: * Header:头部 (对应:Header) * Claims:声明 (对应:Payload) * Signature:签名 (对应:Signature) */.
校验token是否有效 返回参数.
No description provided by the author
文本敏感字符检测.
No description provided by the author
No description provided by the author
No description provided by the author
ParseToken parse JWT token in http header.
加密密码.
校验密码是否有效.
get random number 4.
get random 4 string.
update expireAt and return a new token.
安全处理HTML文档,过滤危险标签和属性.
发送订阅消息.
sever inner error.
No description provided by the author
如果不够length,返回全部长度范围.
No description provided by the author
No description provided by the author
Tomorrow right now.
No description provided by the author
No description provided by the author
No description provided by the author
token验证.
Yesterday right now.

# Constants

600 // default 10 minutes.
数字、大小写字母.
小写字母.
纯数字.
大写字母.
No description provided by the author
SecretKey = "welcome to wangshubo's blog".

# Variables

No description provided by the author
No description provided by the author
db error.
db error.
db error.
db error.
var ConsoleLogs *logs.BeeLogger.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
JWT -- json web token HEADER PAYLOAD SIGNATURE This struct is the PAYLOAD.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author