1Panel/backend/configs/jwt.go

10 lines
278 B
Go
Raw Normal View History

2022-08-16 23:30:23 +08:00
package configs
type JWT struct {
HeaderName string `mapstructure:"header_name"`
SigningKey string `mapstructure:"signing_key"`
ExpiresTime int64 `mapstructure:"expires_time"`
BufferTime int64 `mapstructure:"buffer_time"`
Issuer string `mapstructure:"issuer"`
}