Versions in this module Expand all Collapse all v1 v1.0.0 May 20, 2026 Changes in this version + var ErrInternal = &pgconn.PgError + var SslModes = []string + type Counter struct + func (c *Counter) Dec() + func (c *Counter) Inc() + func (c *Counter) Value() int + type Database struct + Host string + Port uint16 + SslMode string + func (t *Database) UnmarshalJSON(b []byte) error + type ErrCertificate struct + Message string + func (e *ErrCertificate) Error() string + type PgConn struct + AddressClient string + AddressDatabase string + Application string + Db string + InProgress bool + Pid uint32 + Sid uint32 + Terminated bool + Timestamp time.Time + TimestampLast time.Time + User string + Uuid string + type PgReverseProxy struct + func Init(logger scanUtils.Logger, listenerPort uint, listenerTlsConf *tls.Config, ...) (*PgReverseProxy, error) + func (p *PgReverseProxy) RegisterMonitoring(...) + func (p *PgReverseProxy) RegisterSni(sni ...Sni) error + func (p *PgReverseProxy) Serve() + func (p *PgReverseProxy) Stop() + type Sni struct + AllowedOrigins []string + CertPath string + Certificate tls.Certificate + CertificateX509 x509.Certificate + Database Database + KeyPath string + func (d *Sni) UnmarshalJSON(b []byte) error