3 Star 4 Fork 0

workits / pkgs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
types.go 292 Bytes
一键复制 编辑 原始数据 按行查看 历史
workits 提交于 2023-10-10 14:40 . 修改 go module
package jwtx
import (
"gitee.com/workits/pkgs/contextx"
"github.com/golang-jwt/jwt"
)
const CacheKey = "jwt:%v"
type DefinedClaims struct {
contextx.TraceUser
jwt.StandardClaims
}
type Config struct {
Secret string `mapstructure:"secret"`
Expired int `mapstructure:"expired"`
}
Go
1
https://gitee.com/workits/pkgs.git
git@gitee.com:workits/pkgs.git
workits
pkgs
pkgs
v0.1.1

搜索帮助