package
0.0.0-20220303161640-97394dd0dc35
Repository: https://github.com/cockroachlabs/pg-auth-proxy.git
Documentation: pkg.go.dev

# Functions

AsErrorResponse locates a WrappedError within the given error message and returns the message.
ErrorResponsef is a convenience method to return a WrappedError with a basic ErrorResponse.
New constructs a proxy connection around the incoming network stream.

# Variables

ErrInvalidToken contains a pgwire error message.

# Structs

Conn represents a single proxy connection between an incoming SQL caller and the target database.
WrappedError wraps a pgwire ErrorResponse as an error.