package
5.7.2
Repository: https://github.com/jackc/pgx.git
Documentation: pkg.go.dev

# README

pgproto3

Package pgproto3 is an encoder and decoder of the PostgreSQL wire protocol version 3.

pgproto3 can be used as a foundation for PostgreSQL drivers, proxies, mock servers, load balancers and more.

See example/pgfortune for a playful example of a fake PostgreSQL server.

# Packages

# Functions

NewBackend creates a new Backend.
NewFrontend creates a new Frontend.

# Constants

Authentication message type constants.
Authentication message type constants.
Authentication message type constants.
Authentication message type constants.
Authentication message type constants.
Authentication message type constants.
Authentication message type constants.
Authentication message type constants.
Authentication message type constants.
Authentication message type constants.
3.0.

# Structs

AuthenticationCleartextPassword is a message sent from the backend indicating that a clear-text password is required.
AuthenticationMD5Password is a message sent from the backend indicating that an MD5 hashed password is required.
AuthenticationOk is a message sent from the backend indicating that authentication was successful.
AuthenticationSASL is a message sent from the backend indicating that SASL authentication is required.
AuthenticationSASLContinue is a message sent from the backend containing a SASL challenge.
AuthenticationSASLFinal is a message sent from the backend indicating a SASL authentication has completed.
Backend acts as a server for the PostgreSQL wire protocol version 3.
Frontend acts as a client for the PostgreSQL wire protocol version 3.
TracerOptions controls tracing behavior.

# Interfaces

BackendMessage is a message sent by the backend (i.e.
FrontendMessage is a message sent by the frontend (i.e.
Message is the interface implemented by an object that can decode and encode a particular PostgreSQL message.

# Type aliases