pg

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Placeholder

type Placeholder int

func (*Placeholder) Next

func (p *Placeholder) Next() string

type Pool

type Pool struct {
	*pgxpool.Pool
}

Pool data struct for *pgxpool.Pool.

func NewPool

func NewPool(connString string, logger *zap.Logger, lazy bool) (*Pool, error)

NewPool returns a pfxpool, a concurrency-safe connection pool for pgx.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL