feat: updated pkg implementations

This commit is contained in:
David Allen 2025-08-24 20:40:53 -06:00
parent 86f37555b2
commit 8b161135ff
Signed by: towk
GPG key ID: 0430CDBE22619155
10 changed files with 579 additions and 140 deletions

View file

@ -1,12 +1,18 @@
package storage
type KVStore interface {
Init() error
Cleanup() error
Get(k string) (any, error)
Set(k string, v any) error
GetData() any
}
type KVStaticStore[T any] interface {
Init() error
Cleanup() error
Get(k string) (T, error)
Set(k string, v T) error
GetData() T