Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Address string `json:"address"` Connections Connections `json:"connections"` }
Config represents the DB coonection information
type Connections ¶
type Connections struct { MaxLifetime int `json:"maxLifetime"` MaxOpen int `json:"maxOpen"` MaxIdle int `json:"maxIdle"` }
Connections stores the DB connection information
Click to show internal directories.
Click to hide internal directories.