公告板
版本库
filestore
活动
搜索
登录
aps
/
SRM
SRM system
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
采购单增删改查
zhangqian
2023-08-26
5193dcb9336e853502baf8a539d3f45efebe2f86
[aps/SRM.git]
/
config
/
jwt.go
1
2
3
4
5
6
7
8
package config
type JWT struct {
SigningKey string `mapstructure:"signing-key" json:"signing-key" yaml:"signing-key"` // jwt签名
ExpiresTime string `mapstructure:"expires-time" json:"expires-time" yaml:"expires-time"` // 过期时间
BufferTime string `mapstructure:"buffer-time" json:"buffer-time" yaml:"buffer-time"` // 缓冲时间
Issuer string `mapstructure:"issuer" json:"issuer" yaml:"issuer"` // 签发者
}