feat: storage sync/async funcs

This commit is contained in:
Ilia Denisov
2026-03-14 21:57:25 +02:00
parent 70a43237ca
commit 2134386625
3 changed files with 45 additions and 6 deletions
+3 -1
View File
@@ -14,7 +14,9 @@ type Storage interface {
DeleteFile(string) error
ListFiles() ([]string, error)
// StateExistss() (bool, error)
StateExists() (bool, error)
LoadState() (client.State, error)
SaveState(client.State) error
}
// UIStorage manages Client's data local storing and retrieval.