package
20.1.0-alpha20191216+incompatible
Repository: https://github.com/knz/cockroach.git
Documentation: pkg.go.dev
# Packages
Package hba implements an hba.conf parser.
Package pgcode defines the PostgreSQL 5-character support codes used throughout the CockroachDB source tree.
No description provided by the author
Package pgwirebase contains type definitions and very basic protocol structures
to be used by both the pgwire package and by others (particularly by the sql
package).
# Functions
MakeServer creates a Server.
Match returns true if rd appears to be a Postgres connection.
RegisterAuthMethod registers an AuthMethod for pgwire authentication.
# Constants
ErrDrainingExistingConn is returned when a connection is shut down because the server is draining.
ErrDrainingNewConn is returned when a client attempts to connect to a server which is not accepting client connections.
ErrSSLRequired is returned when a client attempts to connect to a secure server in cleartext.
# Variables
Fully-qualified names for metrics.
Fully-qualified names for metrics.
Fully-qualified names for metrics.
Fully-qualified names for metrics.
# Structs
Server implements the server side of the PostgreSQL wire protocol.
ServerMetrics is the set of metrics for the pgwire server.
# Interfaces
AuthConn is the interface used by the authenticator for interacting with the pgwire connection.