mirror of
https://github.com/ZSCNetSupportDept/scheduler.git
synced 2025-10-28 20:45:05 +08:00
改善
This commit is contained in:
@@ -2,16 +2,19 @@ package config
|
||||
|
||||
var (
|
||||
ListenPort int
|
||||
File string
|
||||
DB database
|
||||
Session string
|
||||
Semester int
|
||||
StartTime string
|
||||
Week int
|
||||
File string
|
||||
)
|
||||
|
||||
type database struct {
|
||||
Path string
|
||||
//Port string
|
||||
//User string
|
||||
//Password string
|
||||
|
||||
// enable if you want use an instance other than SQLite
|
||||
Type string
|
||||
Type string
|
||||
Path string
|
||||
Port int
|
||||
User string
|
||||
Password string
|
||||
Name string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user