Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormConf ¶
type GormConf struct {
Ip string `json:"ip"`
Port int32 `json:"port"`
Username string `json:"username"`
Password string `json:"password"`
DbName string `json:"dbname"`
MaxIdleConns int `json:"maxIdleConns"`
MaxOpenConns int `json:"maxOpenConns"`
Logger logger.Config `json:"logger,optional"`
}
func (*GormConf) MustNewGormClient ¶
Click to show internal directories.
Click to hide internal directories.