refactor(store): clarify key-value terminology

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Virgil 2026-04-04 10:25:34 +00:00
parent 21ce2938c8
commit 089f80c087
2 changed files with 3 additions and 1 deletions

2
doc.go
View file

@ -1,4 +1,4 @@
// Package store provides SQLite-backed storage for grouped entries, TTL expiry,
// Package store provides SQLite-backed key-value storage for grouped entries, TTL expiry,
// namespace isolation, quota enforcement, reactive change notifications,
// workspace journalling, and explicit orphan recovery.
//

View file

@ -72,6 +72,8 @@ func (journalConfig journalConfiguration) isConfigured() bool {
journalConfig.bucketName != ""
}
// Store is the SQLite key-value store with optional journal backing.
//
// Usage example: `storeInstance, err := store.New(":memory:")`
type Store struct {
sqliteDatabase *sql.DB