Major fixes and improvements
This commit is contained in:
1 parent
fed32d3909
commit
d3a81a2d57
14 files changed
+378
-158
No files matched your search
@@ -32,6 +32,10 @@ type Store interface {
|
||||
|
||||
// Save persists the data if and where it needs to be persisted
|
||||
Save() error
|
||||
|
||||
// Close terminates every connections and closes the store, if applicable.
|
||||
// Should only be used before stopping the application.
|
||||
Close()
|
||||
}
|
||||
|
||||
// TODO: add method to check state of store (by keeping track of silent errors)
|
||||
|
||||
Reference in new issue
Block a user