Documentation
¶
Overview ¶
Package postgres observes a named physical standby from a PostgreSQL primary. It uses database/sql, leaving driver/connection ownership to the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Replication ¶
type Replication struct {
// contains filtered or unexported fields
}
func NewReplication ¶
func NewReplication(c Config) (*Replication, error)
func (*Replication) Sample ¶
func (r *Replication) Sample(ctx context.Context) (decision.Observation, error)
func (*Replication) Snapshot ¶
func (r *Replication) Snapshot() State
Click to show internal directories.
Click to hide internal directories.