postgres

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

func NewSource

func NewSource(uri *url.URL, logger *zap.Logger) (*Source, error)

func (*Source) Close

func (s *Source) Close() error

func (*Source) Connect

func (s *Source) Connect(ctx context.Context, checkpoint *replicator.Checkpoint) error

func (*Source) Disconnect

func (s *Source) Disconnect(ctx context.Context) error

func (*Source) Next

func (s *Source) Next(ctx context.Context) (replicator.Event, error)

func (*Source) Stats

func (s *Source) Stats() replicator.SourceStats

Jump to

Keyboard shortcuts

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