Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBConfig ¶
type DBConfig struct { Username string `yaml:"username"` Password string `yaml:"password"` Host string `yaml:"host"` Port string `yaml:"port"` Timeout string `yaml:"timeout"` DBName string `yaml:"db_name"` }
DBConfig 数据库相关配置
type EmptyConfig ¶
type EmptyConfig struct { }
func (EmptyConfig) DBConfig ¶
func (e EmptyConfig) DBConfig() DBConfig
Click to show internal directories.
Click to hide internal directories.