lsn

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AtomicLSN

type AtomicLSN struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewAtomicLSN

func NewAtomicLSN() *AtomicLSN

func (*AtomicLSN) Read

func (s *AtomicLSN) Read() pglogrepl.LSN

func (*AtomicLSN) Set

func (s *AtomicLSN) Set(lsn pglogrepl.LSN)

func (*AtomicLSN) Update

func (s *AtomicLSN) Update(newLsn pglogrepl.LSN) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL