Documentation
¶
Index ¶
Constants ¶
View Source
const (
StandbyStatusUpdateByteID = 'r'
)
Variables ¶
View Source
var ( ErrSlotInUse = errors.New("replication slot in use") ErrNotConnected = errors.New("stream is not connected") )
Functions ¶
func AppendUint64 ¶
func SendStandbyStatusUpdate ¶
Types ¶
type ListenerContext ¶
type ListenerFunc ¶
type ListenerFunc func(ctx *ListenerContext)
type Replication ¶
type Replication struct {
// contains filtered or unexported fields
}
func New ¶
func New(conn pg.Connection) *Replication
Click to show internal directories.
Click to hide internal directories.