refactor(store): clarify key-value terminology
Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
21ce2938c8
commit
089f80c087
2 changed files with 3 additions and 1 deletions
2
doc.go
2
doc.go
|
|
@ -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.
|
||||
//
|
||||
|
|
|
|||
2
store.go
2
store.go
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue