# 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.
# 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.