Documentation ¶
Index ¶
Constants ¶
View Source
const AuthReq byte = 0x52
all of the following messages start with R (0x52) AuthenticationOk AuthenticationKerberosV5 AuthenticationCleartextPassword AuthenticationMD5Password AuthenticationSCMCredential AuthenticationGSS AuthenticationSSPI AuthenticationGSSContinue AuthenticationSASL AuthenticationSASLContinue AuthenticationSASLFinal NegotiateProtocolVersion
View Source
const ErrorResponse byte = 0x45
https://www.postgresql.org/docs/current/protocol-flow.html the following three values are the only three valid responses from a server for the first byte
View Source
const NegotiateProtocolVersion = 0x76
View Source
const POSTGRES = "postgres"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type POSTGRESPlugin ¶
type POSTGRESPlugin struct{}
func (*POSTGRESPlugin) Name ¶
func (p *POSTGRESPlugin) Name() string
func (*POSTGRESPlugin) PortPriority ¶
func (p *POSTGRESPlugin) PortPriority(port uint16) bool
func (*POSTGRESPlugin) Priority ¶
func (p *POSTGRESPlugin) Priority() int
func (*POSTGRESPlugin) Type ¶
func (p *POSTGRESPlugin) Type() plugins.Protocol
Click to show internal directories.
Click to hide internal directories.