package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
NewBackendConn creates a BackendConn using the default buffer size of 8KB.
NewFrontendConn creates a FrontendConn using the default buffer size of 8KB.
NewPGConn creates a PGConn using a default buffer size of 8KB.
# Variables
ErrProtocolError indicates that the packets are malformed, and are not as expected.
# Structs
BackendConn is a server interceptor for the Postgres backend protocol.
FrontendConn is a client interceptor for the Postgres frontend protocol.
PGConn wraps both net.Conn and pgInterceptor as one object.