Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // conf strut C iris.Configuration // 解析app.yml中的Other项 O Other // app.conf配置项key定义 Port string = "Port" )
Functions ¶
func AppOtherParse ¶
func AppOtherParse()
func DBSettingParse ¶
func DBSettingParse()
Types ¶
type DBConfigInfo ¶
type DBConfigInfo struct { Dialect string `yaml:"dialect"` User string `yaml:"user"` Password string `yaml:"password"` Host string `yaml:"host"` Port int `yaml:"port"` Database string `yaml:"database"` Charset string `yaml:"charset"` ShowSql bool `yaml:"showSql"` LogLevel string `yaml:"logLevel"` MaxIdleConns int `yaml:"maxIdleConns"` MaxOpenConns int `yaml:"maxOpenConns"` }
Click to show internal directories.
Click to hide internal directories.