pgpool

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PgPool

type PgPool struct {

	// optionally, a database connection pool can be set directly
	DbPool *sql.DB

	// or the following parameters can be used to initialize the pool
	DbHost      string
	DbPort      string
	DbUser      string
	DbPass      string
	DBName      string
	DBUrlParams string

	// or set dsn
	DSN string
}

func (*PgPool) Init

func (r *PgPool) Init() error

Jump to

Keyboard shortcuts

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