package
1.0.5
Repository: https://github.com/cockroachdb/replicator.git
Documentation: pkg.go.dev

# Functions

AddHandlers populates the ServeMux with diagnostic endpoints.
MetricsServer starts a trivial HTTP server which runs until canceled.
New constructs a standard logical-replication command.

# Constants

MetricsAddrFlag is a global flag that will start an HTTP server.

# Structs

A Template contains the input for [New].

# Interfaces

Config is our standard protocol for configuration objects.
HasAuthenticator allows the object to supply a [types.Authenticator].
HasDiagnostics allows the object to supply a [diag.Diagnostics].
HasServeMux allows the object to provide a [http.ServeMux] to bind the endpoints to, if the [MetricsAddrFlag] is not set.