adding basic data storage

This commit is contained in:
2024-12-27 22:34:43 +01:00
parent ab1b709c77
commit aeb9de71a1
9 changed files with 259 additions and 15 deletions

View File

@@ -0,0 +1,9 @@
package data
type IDatastore interface {
Set(key string, val string) error
KeyExists(key string) (bool, error)
Get(key string) (string, error)
GetAll() (map[string]string, error)
GetAllKeys() (map[string]bool, error)
}