Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PostgreSQLFrontEndMessageTypes = []uint8{
'B',
'C',
'D',
'E',
'F',
'f',
'd',
'c',
'H',
'P',
'p',
'Q',
'S',
'X',
}
Functions ¶
func DecodeBytes ¶
DecodeBytes decodes a base64 encoded string to bytes.
func HandleClientMessage ¶
HandleClientMessage handles the client message. This function should be called from onTrafficFromClient hook.
func HandleServerMessage ¶
HandleServerMessage handles the server response. This function should be called from onTrafficFromServer hook.
func IsPostgresStartupMessage ¶
IsPostgresStartupMessage returns true if the message is a startup message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.