mirror of
https://github.com/komari-monitor/komari.git
synced 2026-11-24 00:50:49 +00:00
15 lines
436 B
Go
15 lines
436 B
Go
package flags
|
|
|
|
var (
|
|
// 数据库配置
|
|
DatabaseType string // 数据库类型:sqlite, mysql
|
|
DatabaseFile string // SQLite数据库文件路径
|
|
DatabaseHost string // MySQL/其他数据库主机地址
|
|
DatabasePort string // MySQL/其他数据库端口
|
|
DatabaseUser string // MySQL/其他数据库用户名
|
|
DatabasePass string // MySQL/其他数据库密码
|
|
DatabaseName string // MySQL/其他数据库名称
|
|
|
|
Listen string
|
|
)
|