Documentation ¶ Index ¶ type Pool func Init(ctx context.Context, writeURL string, readURLsRaw string, writeLimit int, ...) (*Pool, error) func (p *Pool) Close() func (p *Pool) ReadDB() *pgxpool.Pool func (p *Pool) WriteDB() *pgxpool.Pool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Pool ¶ added in v1.4.6 type Pool struct { // contains filtered or unexported fields } func Init ¶ func Init(ctx context.Context, writeURL string, readURLsRaw string, writeLimit int, poolLimit int) (*Pool, error) func (*Pool) Close ¶ added in v1.4.6 func (p *Pool) Close() func (*Pool) ReadDB ¶ added in v1.4.6 func (p *Pool) ReadDB() *pgxpool.Pool func (*Pool) WriteDB ¶ added in v1.4.6 func (p *Pool) WriteDB() *pgxpool.Pool Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.