Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DatabaseConfig ¶
type DatabaseConfig struct { Dialect string `yaml:"dialect"` DSN string `yaml:"dsn"` MaxIdle int `yaml:"max_idle"` MaxOpen int `yaml:"max_open"` MaxLifetime int `yaml:"max_lifetime"` ShowSQL bool `yaml:"show_sql"` }
DatabaseConfig db datasource
type Datasource ¶
type Datasource struct {
Databases []*DatabaseConfig `yaml:"databases,flow"`
}
Click to show internal directories.
Click to hide internal directories.