Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Read struct { Addr string `toml:"addr"` User string `toml:"user"` Pass string `toml:"pass"` Name string `toml:"name"` } `toml:"read"` Write struct { Addr string `toml:"addr"` User string `toml:"user"` Pass string `toml:"pass"` Name string `toml:"name"` } `toml:"write"` Base struct { MaxOpenConn int `toml:"maxOpenConn"` MaxIdleConn int `toml:"maxIdleConn"` ConnMaxLifeTime time.Duration `toml:"connMaxLifeTime"` } `toml:"base"` }
Click to show internal directories.
Click to hide internal directories.