pgsqlprobe

package
v5.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgreSQLProbe

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

func NewPostgreSQLProbe

func NewPostgreSQLProbe(name, connectionString string) PostgreSQLProbe

NewPostgreSQLProbe instantiate a new PostgreSQL probe: - name: probe name - connectionString: connection string with the form "postgres://username:password@example.com"

func (PostgreSQLProbe) Check

func (p PostgreSQLProbe) Check(_ context.Context) error

func (PostgreSQLProbe) Name

func (p PostgreSQLProbe) Name() string

Jump to

Keyboard shortcuts

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