modulepackage
0.0.0-20230305220548-7bfe347b5ddc
Repository: https://github.com/eiri/dieci.git
Documentation: pkg.go.dev
# Functions
NewBadgerBackend returns new instance of Badger backend for a given transaction.
NewDatalog returns a new datalog for a given transaction.
NewIndex returns a new index.
NewKey generates and returns new key.
NewPKI returns an instance of PKI interface.
NewScore returns a new score for a given data.
Open opens provided storage.
ValidateKey attempt to decode byte slice into sno ID to confirm that it's a valid key.
# Variables
ErrDecrypt is a shield error for any decyption failure.
ErrEncrypt is a shield error for any encyption failure.
# Structs
BadgerBackend implements backedn with BadgerDB.
Datalog represents a datastore's datalog.
Index represents an index of a datalog file.
PKI represent an interface to PKI service (e.g Valut).
Store represents a data store.
# Interfaces
Backend is an interface for Dieci backend implementation.