package
6.0.0-beta.10+incompatible
Repository: https://github.com/nuts-foundation/nuts-node.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
CreateTestBBoltStore creates an in-memory bbolt store.
DefaultConfig returns the default configuration for the module.
New creates a new instance of the storage engine.
NewInMemorySessionDatabase creates a new in memory session database.
NewKVBackedLeiaStore creates a wrapper around a leia.Store that uses a stoabs.KVStore as backup.
NewMockdatabase creates a new mock instance.
NewMockEngine creates a new mock instance.
NewMockProvider creates a new mock instance.
NewMockSessionDatabase creates a new mock instance.
NewMockSessionStore creates a new mock instance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

PersistentStorageClass means losing the storage should never happen, because it has major implications.
VolatileStorageClass means losing the storage has no/little implications due to data loss (e.g.

# Variables

No description provided by the author
No description provided by the author

# Structs

BBoltBackupConfig specifies config for BBolt database backups.
BBoltConfig specifies config for BBolt databases.
Config specifies config for the storage engine.
InMemorySessionDatabase is an in memory database that holds session data on a KV basis.
No description provided by the author
LeiaBackupConfiguration contains the configuration for a collection that is backed by a stoabs.KVStore.
Mockdatabase is a mock of database interface.
MockdatabaseMockRecorder is the mock recorder for Mockdatabase.
MockEngine is a mock of Engine interface.
MockEngineMockRecorder is the mock recorder for MockEngine.
MockProvider is a mock of Provider interface.
MockProviderMockRecorder is the mock recorder for MockProvider.
MockSessionDatabase is a mock of SessionDatabase interface.
MockSessionDatabaseMockRecorder is the mock recorder for MockSessionDatabase.
MockSessionStore is a mock of SessionStore interface.
MockSessionStoreMockRecorder is the mock recorder for MockSessionStore.
RedisConfig specifies config for Redis databases.
RedisSentinelConfig specifies properties for connecting to a Redis Sentinel cluster.
RedisTLSConfig specifies properties for connecting to a Redis server over TLS.
SessionConfig specifies config for the session storage engine.
SQLConfig specifies config for the SQL storage engine.
StaticKVStoreProvider contains a single store.
TransactionKey is the key used to store the SQL transaction in the context.

# Interfaces

Engine defines the interface for the storage engine.
KVBackedLeiaStore is a wrapper interface for a leia.Store that uses a stoabs.KVStore as backup for any documents added.
Provider lets callers get access to stores.
SessionDatabase is a non-persistent database that holds session data on a KV basis.
SessionStore is a key-value store that holds session data.

# Type aliases

Class defines levels of storage reliability.