# README
pgproxy
pgproxy is a flexible proxy for the Postgres wire protocol that allows for customizing authentication and backend selection by breaking apart the startup message flow between frontend and backend.
Once authenticated, it falls back to being a dumb proxy that simple shuffles bytes back and forth.
# Functions
AuthenticateClient tells the client they've successfully authenticated.
CopySteadyState copies messages back and forth after the initial handshake.
FinalizeInitialHandshake completes the handshake between client and server, snooping the BackendKeyData from the server if sent.
No description provided by the author
SetupClient sets up a backend connected to the given client.
SetupServer sets up a frontend connected to the given server.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author