Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseConnection ¶
func CloseConnection(deadHost string)
func Initialize ¶
func Initialize()
func UpdateConnection ¶
func UpdateConnection() bool
Types ¶
type MySQLNodeDB ¶
type MySQLNodeDB struct {
// contains filtered or unexported fields
}
func (*MySQLNodeDB) Close ¶
func (my *MySQLNodeDB) Close(deadHost string)
call this method when you want to close the connection
func (*MySQLNodeDB) CreateDB ¶
func (my *MySQLNodeDB) CreateDB()
func (*MySQLNodeDB) GetAll ¶
func (my *MySQLNodeDB) GetAll() []utils.NodeTable
func (*MySQLNodeDB) Insert ¶
func (my *MySQLNodeDB) Insert() bool
func (*MySQLNodeDB) Update ¶
func (my *MySQLNodeDB) Update() bool
Click to show internal directories.
Click to hide internal directories.