Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultPort = "3306"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { User string Pass string Host string DatabaseName string Port string MaxLifetime string MaxIdleConns string MaxOpenConns string Loc string }
Config is a model for connect MariaDB
type MariaDBDriver ¶
MariaDBDriver is the interface
Click to show internal directories.
Click to hide internal directories.