move Settings and Viewed to separate json files

This commit is contained in:
Alexey D. Filimonov
2024-02-01 20:35:54 +03:00
parent cd830f67c9
commit 83c7ed1f95
7 changed files with 465 additions and 9 deletions

View File

@@ -0,0 +1,9 @@
package settings
type TorrServerDB interface {
CloseDB()
Get(xPath, name string) []byte
Set(xPath, name string, value []byte)
List(xPath string) []string
Rem(xPath, name string)
}