pgxtls

package module
v0.0.0-...-a5730d2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: MIT Imports: 12 Imported by: 0

README

pgxtls

A TLS by default template for https://github.com/jackc/pgx

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFromCfgMap

func NewFromCfgMap(ctx context.Context, config *config.ConfigMap, fn AfterConnectFunc) (*pool.Pool, error)

NewFromCfgMap Returns a new database initialized with credentials from config

Types

type AfterConnectFunc

type AfterConnectFunc func(context.Context, *pgx.Conn) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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