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.
|
|
|
package config
|
|
|
|
|
|
|
|
// AuthConf 登录认证配置
|
|
|
|
type AuthConf struct {
|
|
|
|
AccessSecret string `json:",default=northlan,env=ACCESS_SECRET"` // Secret
|
|
|
|
AccessExpire int64 `json:",default=604800,env=ACCESS_EXPIRE"` // Expire in seconds
|
|
|
|
}
|