You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ntool-biz/core/config/auth.go

8 lines
235 B
Go

1 year ago
package config
// AuthConf 登录认证配置
type AuthConf struct {
1 year ago
AccessSecret string `json:",default=northlan,env=ACCESS_SECRET"` // Secret
AccessExpire int64 `json:",default=604800,env=ACCESS_EXPIRE"` // Expire in seconds
}