instrumentation

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(inner replication.Handler, meter metric.Meter) (*Handler, error)

func (*Handler) Close

func (h *Handler) Close() error

func (*Handler) GetLSNParser

func (h *Handler) GetLSNParser() replication.LSNParser

func (*Handler) GetReplicationLag

func (h *Handler) GetReplicationLag(ctx context.Context) (int64, error)

func (*Handler) ReceiveMessage

func (h *Handler) ReceiveMessage(ctx context.Context) (*replication.Message, error)

func (*Handler) StartReplication

func (h *Handler) StartReplication(ctx context.Context) error

func (*Handler) SyncLSN

func (h *Handler) SyncLSN(ctx context.Context, lsn replication.LSN) (err error)

Jump to

Keyboard shortcuts

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