Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectManager ¶
ConnectManager func define
func NewMysqlConnectManager ¶
func NewMysqlConnectManager() ConnectManager
NewMysqlConnectManager new a database manager
func NewPgsqlConnectManager ¶
func NewPgsqlConnectManager() ConnectManager
NewPgsqlConnectManager new a database manager
type MysqlConnectParams ¶
type MysqlConnectParams struct { DBName string User string Password string Addr string Collation string Charset string Local string ParseTime bool ConnectTimeout string ReadTimeout string WriteTimeout string SSLMode string SSLCert string SSLKey string SSLRootCert string }
MysqlConnectParams database init params.
Click to show internal directories.
Click to hide internal directories.