Documentation ¶
Index ¶
- func NewHandler(inner replication.Handler, instrumentation *otel.Instrumentation) (replication.Handler, error)
- type Handler
- func (h *Handler) Close() error
- func (h *Handler) GetLSNParser() replication.LSNParser
- func (h *Handler) GetReplicationLag(ctx context.Context) (int64, error)
- func (h *Handler) ReceiveMessage(ctx context.Context) (msg *replication.Message, err error)
- func (h *Handler) StartReplication(ctx context.Context) error
- func (h *Handler) SyncLSN(ctx context.Context, lsn replication.LSN) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(inner replication.Handler, instrumentation *otel.Instrumentation) (replication.Handler, error)
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) GetLSNParser ¶
func (h *Handler) GetLSNParser() replication.LSNParser
func (*Handler) GetReplicationLag ¶
func (*Handler) ReceiveMessage ¶
Click to show internal directories.
Click to hide internal directories.