Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBConfig ¶
type DBConfig struct { Driver string `json:"driver"` URL string `json:"url"` MaxIdleConnection int `json:"maxIdleConnection"` MaxOpenConnection int `json:"maxOpenConnection"` ConnMaxLifetime time.Duration `json:"connMaxLifetime"` }
DBConfig store db config data
Environment Variables:
DB_DRIVER DB_URL DB_MAXIDLECONN DB_MAXOPENCONN DB_CONNMAXLIFE
Click to show internal directories.
Click to hide internal directories.