Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connect ¶
type Connect struct { Dns string `toml:"dns"` Driver string `toml:"driver"` Host string `toml:"host"` Port uint16 `toml:"port"` User string `toml:"user"` Pass string `toml:"pass"` DbName string `toml:"db_name"` Debug bool `toml:"debug"` LogFile string `toml:"log_file"` }
Connect config
func (*Connect) LoadConfFromMap ¶
func (c *Connect) LoadConfFromMap(conf map[interface{}]interface{})
func (*Connect) LoadConfFromToml ¶
func (*Connect) LoadConfFromYaml ¶
Click to show internal directories.
Click to hide internal directories.