Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { User string `json:"user"` Password string `json:"password"` Host string `json:"host"` Port int `json:"port"` Name string `json:"name"` Charset string `json:"charset"` MaxIdleConn int `json:"max_idle_conn"` MaxOpenConn int `json:"max_open_conn"` ConnMaxLifeTime time.Duration `json:"conn_max_life_time"` GormConfig *gorm.Config `json:"gormConfig"` }
Click to show internal directories.
Click to hide internal directories.