Versions in this module Expand all Collapse all v0 v0.2.0 Jan 30, 2025 v0.1.2 Jan 30, 2025 Changes in this version + func Connect(ctx context.Context, args Config, options ...Option) (*pgxpool.Pool, error) + func ConnectDSN(ctx context.Context, dsn string, options ...Option) (*pgxpool.Pool, error) + func MustConnect(ctx context.Context, args Config, options ...Option) *pgxpool.Pool + func MustConnectDSN(ctx context.Context, dsn string, options ...Option) *pgxpool.Pool + func MustPing(ctx context.Context, conn *pgxpool.Pool, timeout time.Duration) + func Ping(ctx context.Context, conn *pgxpool.Pool, timeout time.Duration) error + type Config struct + Host string + Name string + Pass string + Port string + SSL string + User string + type Option func(config *pgxpool.Config) *pgxpool.Config + func WithMaxConnections(maxConnections int32) Option + func WithMinConnections(minConnections int32) Option