Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrConfigIsRequired = errors.NewError("SYS", "PostgreSQL config is required") ErrLoggerIsRequired = errors.NewError("SYS", "Logger is required") )
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder() *Builder
func (*Builder) Build ¶
func (b *Builder) Build() (*PostgreSQL, error)
type PostgreSQL ¶
type PostgreSQL struct {
// contains filtered or unexported fields
}
func (*PostgreSQL) ConnPool ¶
func (pg *PostgreSQL) ConnPool() *pgxpool.Pool
Click to show internal directories.
Click to hide internal directories.