package
0.0.0-20240917120716-8843776e9f3a
Repository: https://github.com/cossacklabs/acra.git
Documentation: pkg.go.dev
# Functions
Connect return connection to db using env variable PG_CONNECTION_STRING.
ConnectAcra return connection to acra using env variable ACRA_CONNECTION_STRING.
DropCreate drop table 'test_data' if exists and create table with sequence for primary key.
DropCreateRaw drop table 'test_raw' if exists and create table with sequence for primary key.
GenerateData generates random data with MaxDataLength.
GetServerOneKeyPublic reads public key.
RunScripts function execute all sql queries in scripts variable using using db.
# Constants
1 kb.
RequestCount num of requests that will be done in each read benchmark.
RowCount num of rows that will be generated in each write benchmark.