Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Username string //账号 root Password string //密码 Host string //host localhost Port string //端口 3306 Database string //默认连接数据库 ReadTimeout int WriteTimeout int LoadBalance string //负载均衡 DriverName string Trace bool }
Config 数据库配置
Click to show internal directories.
Click to hide internal directories.