Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PGDatabase ¶
type PGDatabase struct { Host string Port string User string Password string Database string ConnectionString string }
func NewPGDatabase ¶
func NewPGDatabase(host, port, user, password, database string) *PGDatabase
NewPGDatabase creates a new PostgreSQL database connection
func (*PGDatabase) GetPGConnection ¶
func (pg *PGDatabase) GetPGConnection() (*pgx.Conn, error)
Click to show internal directories.
Click to hide internal directories.