Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Database ¶
Database will provide the postgres database configuration
func NewDatabase ¶
func NewDatabase(hostName string, databaseName string, user string, password string, driverName string) (*Database, error)
NewDatabase will create a database connection and provide the connection instance
func (*Database) CloseDatabaseConnection ¶
CloseDatabaseConnection will close the database connection
func (*Database) ExecuteStatements ¶
ExecuteStatements will list of statements
func (*Database) WaitForDatabase ¶
WaitForDatabase will ping the database until it becomes accessible
Click to show internal directories.
Click to hide internal directories.