package
0.0.0-20240917120716-8843776e9f3a
Repository: https://github.com/cossacklabs/acra.git
Documentation: pkg.go.dev

# Functions

CreatePoisonRecord generates AcraStruct encrypted with Poison Record public key.
CreateSymmetricPoisonRecord generates AcraBlock encrypted with Poison Record symmetric key.
NewCallbackStorage creates new CallbackStorage.
NewExecuteScriptCallback returns callback for script execution.

# Constants

Poison records length constants.
Poison records length constants.

# Structs

CallbackStorage stores all callbacks in internal storage, on Call iterates and calls each callbacks until error or end of iterating.
EmptyCallback implements Callback and log message to show that RecordProcessor works.
ExecuteScriptCallback represents what script to call on detecting poison record.
StopCallback represents special action to call if service should quit on detecting poison record.