Versions in this module Expand all Collapse all v5 v5.4.40 Sep 22, 2026 v5.4.39 Sep 21, 2026 Changes in this version + var NewDocumentStore newDocumentStoreFunc = func(path string, documentLoader interface{}) (leia.Store, error) + func CreateTestBBoltStore(tb testing.TB, filePath string) stoabs.KVStore + type BBoltBackupConfig struct + Directory string + Interval time.Duration + func (b BBoltBackupConfig) Enabled() bool + type BBoltConfig struct + Backup BBoltBackupConfig + LockTimeout time.Duration + type Class int + const PersistentStorageClass + const VolatileStorageClass + type Config struct + BBolt BBoltConfig + Debug bool + Redis RedisConfig + func DefaultConfig() Config + type Engine interface + GetProvider func(moduleName string) Provider + func New() Engine + func NewTestStorageEngine(testDirectory string) Engine + type KVBackedLeiaStore interface + AddConfiguration func(config LeiaBackupConfiguration) + HandleRestore func() error + func NewKVBackedLeiaStore(store leia.Store, backup stoabs.KVStore) (KVBackedLeiaStore, error) + type LeiaBackupConfiguration struct + BackupShelf string + CollectionName string + CollectionType leia.CollectionType + SearchQuery leia.QueryPath + type MockEngine struct + func NewMockEngine(ctrl *gomock.Controller) *MockEngine + func (m *MockEngine) Configure(config core.ServerConfig) error + func (m *MockEngine) EXPECT() *MockEngineMockRecorder + func (m *MockEngine) GetProvider(moduleName string) Provider + func (m *MockEngine) Shutdown() error + func (m *MockEngine) Start() error + type MockEngineMockRecorder struct + func (mr *MockEngineMockRecorder) Configure(config interface{}) *gomock.Call + func (mr *MockEngineMockRecorder) GetProvider(moduleName interface{}) *gomock.Call + func (mr *MockEngineMockRecorder) Shutdown() *gomock.Call + func (mr *MockEngineMockRecorder) Start() *gomock.Call + type MockProvider struct + func NewMockProvider(ctrl *gomock.Controller) *MockProvider + func (m *MockProvider) EXPECT() *MockProviderMockRecorder + func (m *MockProvider) GetKVStore(name string, class Class) (stoabs.KVStore, error) + type MockProviderMockRecorder struct + func (mr *MockProviderMockRecorder) GetKVStore(name, class interface{}) *gomock.Call + type Mockdatabase struct + func NewMockdatabase(ctrl *gomock.Controller) *Mockdatabase + func (m *Mockdatabase) EXPECT() *MockdatabaseMockRecorder + type MockdatabaseMockRecorder struct + type Provider interface + GetKVStore func(name string, class Class) (stoabs.KVStore, error) + type RedisConfig struct + Address string + Database string + Password string + Sentinel RedisSentinelConfig + TLS RedisTLSConfig + Username string + type RedisSentinelConfig struct + Master string + Nodes []string + Password string + Username string + type RedisTLSConfig struct + TrustStoreFile string + type StaticKVStoreProvider struct + Store stoabs.KVStore + func (p *StaticKVStoreProvider) GetKVStore(_ string, _ Class) (stoabs.KVStore, error) Other modules containing this package github.com/nuts-foundation/nuts-node/v6