Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresConnector ¶
type PostgresConnector struct {
// contains filtered or unexported fields
}
func NewPostgresConnector ¶
func NewPostgresConnector(ctx context.Context, url string) *PostgresConnector
func (*PostgresConnector) GetConnection ¶
func (p *PostgresConnector) GetConnection() *sql.DB
func (*PostgresConnector) Healthcheck ¶
func (p *PostgresConnector) Healthcheck() error
func (*PostgresConnector) Shutdown ¶
func (p *PostgresConnector) Shutdown()
Click to show internal directories.
Click to hide internal directories.