Documentation ¶
Overview ¶
Package postgres is the native client probe for PostgreSQL
Index ¶
Constants ¶
View Source
const Kind string = "PostgreSQL"
Kind is the type of driver
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgreSQL ¶
type PostgreSQL struct { conf.Options `yaml:",inline"` ClientOptions []pgdriver.Option `yaml:"-" json:"-"` }
revive:disable PostgreSQL is the PostgreSQL client
func (*PostgreSQL) ProbeWithDataChecking ¶
func (r *PostgreSQL) ProbeWithDataChecking() (bool, string)
ProbeWithDataChecking do the health check with data checking
func (*PostgreSQL) ProbeWithPing ¶
func (r *PostgreSQL) ProbeWithPing() (bool, string)
ProbeWithPing do the health check with ping & Select 1;
Click to show internal directories.
Click to hide internal directories.