Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Database wrapper DB *sqlx.DB )
Functions ¶
Types ¶
type Databases ¶
type Databases struct { Type string MySQL MySQLInfo SQLite SQLiteInfo }
type MySQLInfo ¶
type MySQLInfo struct { Username string Password string Name string Hostname string Port int Parameter string }
MySQLInfo is the details for the database connection
type SQLiteInfo ¶
type SQLiteInfo struct {
Parameter string
}
SQLiteInfo is the details for the database connection
Click to show internal directories.
Click to hide internal directories.