pgx

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package pgx provides for ssh postgres connections via the github.com/jackc/pgx package

Index

Constants

This section is empty.

Variables

View Source
var TunnelDriver sshdb.Driver = tunnelDriver("pgx")

TunnelDriver is used to register the postgres sql driver pgx version3

Functions

func SetConfigEdit

func SetConfigEdit(cf ConfigFunc)

SetConfigEdit links a ConfigFunc to a dsn string. When creating a new connector, the dsn will be used to match the ConfigFunc.

Types

type ConfigFunc

type ConfigFunc func(*pgx.ConnConfig) error

ConfigFunc updates fields in a ConnConfig after it is created by parsing the passed dsn.

Jump to

Keyboard shortcuts

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