auth

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: PostgreSQL Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterNodeConnection

func GetClusterNodeConnection(ctx context.Context, node map[string]any, opts ConnectionOptions) (*pgxpool.Pool, error)

func GetReplModeConnection

func GetReplModeConnection(nodeInfo map[string]any) (*pgconn.PgConn, error)

func GetSizedClusterNodeConnection added in v1.3.1

func GetSizedClusterNodeConnection(node map[string]any, opts ConnectionOptions) (*pgxpool.Pool, error)

Types

type ConnectionOptions added in v1.4.0

type ConnectionOptions struct {
	DBName   string
	Role     string
	PoolSize int
}

Jump to

Keyboard shortcuts

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