postgresql

package
v3.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package postgresql provides the PostgreSQL checker for the Wait4X application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(dsn string) checker.Checker

New creates a new PostgreSQL checker

Types

type PostgreSQL

type PostgreSQL struct {
	// contains filtered or unexported fields
}

PostgreSQL is a PostgreSQL checker

func (*PostgreSQL) Check

func (p *PostgreSQL) Check(ctx context.Context) (err error)

Check checks the PostgreSQL connection

func (*PostgreSQL) Identity

func (p *PostgreSQL) Identity() (string, error)

Identity returns the identity of the PostgreSQL checker

Jump to

Keyboard shortcuts

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