Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConnTimeout = errors.New("connection timeout")
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface { StartReplication(ctx context.Context) error ReceiveMessage(ctx context.Context) (*Message, error) SyncLSN(ctx context.Context, lsn LSN) error GetReplicationLag(ctx context.Context) (int64, error) GetLSNParser() LSNParser Close() error }
Handler manages the replication operations
Click to show internal directories.
Click to hide internal directories.