package
Version:
v0.0.0-...-f2f702e
Opens a new window with list of versions in this module.
Published: Aug 19, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CloseDB closes db
TODO (Svein): Is DB needed at the end? We are in db-package, usage: db.Close() vs db.CloseDB()
ConfigureDB loads database connection string
TODO (Svein): Is DB needed at the end? We are in db-package, usage: db.Configure() vs db.ConfigureDB)
GetDB returns db object
TODO (Svein): Is DB needed at the end? We are in db-package, usage: db.Get() vs db.GetDB()
OpenDB creates connection with database
TODO (Svein): Is DB needed at the end? We are in db-package, usage: db.Open() vs db.OpenDB()
type MySQLInfo struct {
Hostname string `json:"hostname"`
Port int `json:"port"`
Username string `json:"username"`
Password string `json:"password"`
Database string `json:"database"`
ParseTime bool `json:"parseTime"`
}
MySQLInfo struct
Source Files
¶
Click to show internal directories.
Click to hide internal directories.