chore: remove useless ini
This commit is contained in:
@@ -10,7 +10,3 @@ user = root
|
||||
password =
|
||||
dbname = ql_panel
|
||||
table_prefix = baihu_
|
||||
|
||||
[task]
|
||||
default_timeout = 3600
|
||||
log_retention_days = 30
|
||||
|
||||
@@ -26,16 +26,10 @@ type SecurityConfig struct {
|
||||
Secret string `ini:"secret"`
|
||||
}
|
||||
|
||||
type TaskConfig struct {
|
||||
DefaultTimeout int `ini:"default_timeout"`
|
||||
LogRetentionDays int `ini:"log_retention_days"`
|
||||
}
|
||||
|
||||
type AppConfig struct {
|
||||
Server ServerConfig `ini:"server"`
|
||||
Database DatabaseConfig `ini:"database"`
|
||||
Security SecurityConfig `ini:"security"`
|
||||
Task TaskConfig `ini:"task"`
|
||||
}
|
||||
|
||||
var Config *AppConfig
|
||||
|
||||
Reference in New Issue
Block a user