package
0.0.0-20240917120716-8843776e9f3a
Repository: https://github.com/cossacklabs/acra.git
Documentation: pkg.go.dev
# Functions
ExpectAnyMessage creates step to receive one packet and compare only the type with "want"s type.
ExpectMessage creates step to receive one packet and verify that it deeply equals to "want" message.
NewAuthStep returns step to send Startup message and process authentication with password md5 authentication.
NewCollectDataRowsStep creates step that collects <count> DataRow packet's values and export them.
NewFlushStep returns step that flushes frontend's buffer and sends collected packets to the connection.
NewFrontend returns new Frontend.
SendMessage sends message to the frontend's buffer but not flushes.
WaitForStep creates step that skips all messages from the frontend until gets message with msg's type.
# Structs
CollectDataRowsStep used to receive and store rows from the database DataRow response.
Frontend extends pgproto3.Frontend.
Script store and run steps until gets error.
# Interfaces
Step execute one step of flow.
# Type aliases
RowData represents row of DataRow.