Versions in this module Expand all Collapse all v6 v6.2.13 Sep 22, 2026 v6.2.12 Sep 21, 2026 Changes in this version + var DefaultBBoltOptions = []stoabs.Option + var ErrNotFound = errors.New("not found") + func AddDIDtoSQLDB(t testing.TB, db *gorm.DB, dids ...did.DID) + 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 + Redis RedisConfig + SQL SQLConfig + Session SessionConfig + func DefaultConfig() Config + type Engine interface + GetProvider func(moduleName string) Provider + GetSQLDatabase func() *gorm.DB + GetSessionDatabase func() SessionDatabase + func New() Engine + func NewTestStorageEngine(t testing.TB) Engine + func NewTestStorageEngineInDir(t testing.TB, dir string) Engine + func NewTestStorageEngineRedis(t testing.TB) (Engine, *miniredis.Miniredis) + func NewTestStorageRedisEngineInDir(t testing.TB, dir string) (Engine, *miniredis.Miniredis) + type InMemorySessionDatabase struct + func NewInMemorySessionDatabase() *InMemorySessionDatabase + func NewTestInMemorySessionDatabase(t *testing.T) *InMemorySessionDatabase + func (s *InMemorySessionDatabase) Close() + func (s *InMemorySessionDatabase) GetStore(ttl time.Duration, keys ...string) SessionStore + 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 MemcachedConfig struct + Address []string + type MemcachedSessionDatabase struct + func NewMemcachedSessionDatabase(client *memcache.Client) *MemcachedSessionDatabase + func (s MemcachedSessionDatabase) Close() + func (s MemcachedSessionDatabase) GetStore(ttl time.Duration, keys ...string) SessionStore + 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) GetSQLDatabase() *gorm.DB + func (m *MockEngine) GetSessionDatabase() SessionDatabase + func (m *MockEngine) Shutdown() error + func (m *MockEngine) Start() error + type MockEngineMockRecorder struct + func (mr *MockEngineMockRecorder) Configure(config any) *gomock.Call + func (mr *MockEngineMockRecorder) GetProvider(moduleName any) *gomock.Call + func (mr *MockEngineMockRecorder) GetSQLDatabase() *gomock.Call + func (mr *MockEngineMockRecorder) GetSessionDatabase() *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 any) *gomock.Call + type MockSessionDatabase struct + func NewMockSessionDatabase(ctrl *gomock.Controller) *MockSessionDatabase + func (m *MockSessionDatabase) Close() + func (m *MockSessionDatabase) EXPECT() *MockSessionDatabaseMockRecorder + func (m *MockSessionDatabase) GetStore(ttl time.Duration, keys ...string) SessionStore + type MockSessionDatabaseMockRecorder struct + func (mr *MockSessionDatabaseMockRecorder) Close() *gomock.Call + func (mr *MockSessionDatabaseMockRecorder) GetStore(ttl any, keys ...any) *gomock.Call + type MockSessionStore struct + func NewMockSessionStore(ctrl *gomock.Controller) *MockSessionStore + func (m *MockSessionStore) Delete(key string) error + func (m *MockSessionStore) EXPECT() *MockSessionStoreMockRecorder + func (m *MockSessionStore) Exists(key string) bool + func (m *MockSessionStore) Get(key string, target any) error + func (m *MockSessionStore) GetAndDelete(key string, target any) error + func (m *MockSessionStore) Put(key string, value any, options ...SessionOption) error + type MockSessionStoreMockRecorder struct + func (mr *MockSessionStoreMockRecorder) Delete(key any) *gomock.Call + func (mr *MockSessionStoreMockRecorder) Exists(key any) *gomock.Call + func (mr *MockSessionStoreMockRecorder) Get(key, target any) *gomock.Call + func (mr *MockSessionStoreMockRecorder) GetAndDelete(key, target any) *gomock.Call + func (mr *MockSessionStoreMockRecorder) Put(key, value any, options ...any) *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 RDSIAMConfig struct + DBUser string + Enabled bool + Region string + TokenRefreshInterval time.Duration + 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 SQLConfig struct + ConnectionString string + RDSIAM RDSIAMConfig + type SessionConfig struct + Memcached MemcachedConfig + Redis RedisConfig + type SessionDatabase interface + Close func() + GetStore func(ttl time.Duration, keys ...string) SessionStore + func NewErrorSessionDatabase(err error) SessionDatabase + func NewRedisSessionDatabase(client *redis.Client, prefix string) SessionDatabase + type SessionOption func(target *sessionOptions) + func WithTTL(ttl time.Duration) SessionOption + type SessionStore interface + Delete func(key string) error + Exists func(key string) bool + Get func(key string, target interface{}) error + GetAndDelete func(key string, target interface{}) error + Put func(key string, value interface{}, options ...SessionOption) error + type SessionStoreImpl struct + func (s SessionStoreImpl[T]) Delete(key string) error + func (s SessionStoreImpl[T]) Exists(key string) bool + func (s SessionStoreImpl[T]) Get(key string, target interface{}) error + func (s SessionStoreImpl[T]) GetAndDelete(key string, target interface{}) error + func (s SessionStoreImpl[T]) Put(key string, value interface{}, options ...SessionOption) error + type StaticKVStoreProvider struct + Store stoabs.KVStore + func (p *StaticKVStoreProvider) GetKVStore(_ string, _ Class) (stoabs.KVStore, error) + type StringOrBytes interface + type TransactionKey struct Other modules containing this package github.com/nuts-foundation/nuts-node/v5