package
0.0.0-20241224053824-67a00852a16a
Repository: https://github.com/deleteelf/goframework.git
Documentation: pkg.go.dev
# Functions
创建jwt token ,并支持minutes 和iat 默认值,minutes默认是30,iat默认是当前时间的second.
No description provided by the author
处理http失败信息.
处理http失败信息,返回自定义消息.
No description provided by the author
No description provided by the author
No description provided by the author
根据结果进行分发处理.
初始化jwtSecretKey,如果是集群,每台的secret key必须是一样的,可以走配置中心.
解析jwt token,tokenStr必须携带协议头 ”Bearer “.
应答,应答结果为json结构.
应答,应答结果为字符串.
No description provided by the author
成功的请求.
根据规范进行请求信息验证.
# Structs
支持验证的http request请求id.
支持验证的http json request请求id.
No description provided by the author