Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option struct {
Hosts []string
Port int
Username string
Password string
DataBase string
MaxIdleConn int
MaxOpenConn int
LogMode string
Config string
}
func (*Option) WithConfig ¶
func (*Option) WithLogMode ¶
func (*Option) WithMaxIdleConn ¶
func (*Option) WithMaxOpenConn ¶
Click to show internal directories.
Click to hide internal directories.