Documentation
¶
Overview ¶
Package phase tracks whether a running pgstream process is in the initial snapshot or logical replication (streaming) phase.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracker ¶
type Tracker struct {
// contains filtered or unexported fields
}
Tracker holds the current pipeline phase. It is safe for concurrent use.
func NewTracker ¶
func NewTracker() *Tracker
NewTracker returns a tracker with an empty phase until the first Set.
Click to show internal directories.
Click to hide internal directories.