# Functions
RegisterModule is called by modules/postgres.go's init(), to register the postgres module with the zgrab2 framework.
# Constants
KeyBadParameters is the key into the ServerParameters table denoting an invalid parameter.
KeyUnknownErrorTag is the key into the error table denoting an unrecognized error type.
# Structs
AuthenticationMode abstracts the various 'R'-type packets.
BackendKeyData is the data returned by the 'K'-type packet.
Connection wraps the state of a given connection to a server.
Flags sets the module-specific flags that can be passed in from the command line.
Module is the zgrab2 module for the postgres protocol.
Results is the information returned by the scanner to the caller.
Scanner is the zgrab2 scanner type for the postgres protocol.
ServerPacket is a direct representation of the response packet returned by the server.
# Type aliases
PostgresError is parsed the payload of an 'E'-type packet, mapping the friendly names of the various fields to the values returned by the server.
ServerParameters is a map of key/value pairs sent by the server after authentication.