db

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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