2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 10:17:17 +08:00

feat: 将session超时写入主配置

This commit is contained in:
2025-05-13 21:39:14 +08:00
parent e6567e5e95
commit 8410b48ac0
5 changed files with 11 additions and 10 deletions

View File

@@ -5,6 +5,7 @@ type PanelConfig struct {
App PanelAppConfig `yaml:"app"`
HTTP PanelHTTPConfig `yaml:"http"`
Database PanelDatabaseConfig `yaml:"database"`
Session PanelSessionConfig `yaml:"session"`
}
type PanelAppConfig struct {
@@ -25,3 +26,7 @@ type PanelHTTPConfig struct {
type PanelDatabaseConfig struct {
Debug bool `yaml:"debug"`
}
type PanelSessionConfig struct {
Lifetime uint `yaml:"lifetime"`
}