Move user properties (like session keys) to their own table

This commit is contained in:
Deluan
2021-06-23 16:47:32 -04:00
parent 265f33ed9d
commit 5001518260
12 changed files with 248 additions and 46 deletions
+1 -5
View File
@@ -1,14 +1,10 @@
package model
const (
// TODO Move other prop keys to here
PropLastScan = "LastScan"
)
type Property struct {
ID string
Value string
}
type PropertyRepository interface {
Put(id string, value string) error
Get(id string) (string, error)