pgx4

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config Config) func(ctx context.Context) error

New creates new PostgreSQL health check that verifies the following: - connection establishing - doing the ping command - selecting postgres version

Types

type Config

type Config struct {
	// DSN is the PostgreSQL instance connection DSN. Required.
	DSN string
}

Config is the PostgreSQL checker configuration settings container.

Jump to

Keyboard shortcuts

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