feat: added kwargs and flags to pass to plugins

This commit is contained in:
David Allen 2025-09-01 18:59:12 -06:00
parent dc6a141ca1
commit 42c8fd7c1a
Signed by: towk
GPG key ID: 0430CDBE22619155
6 changed files with 95 additions and 7 deletions

View file

@ -1,9 +1,14 @@
package storage
import "git.towk2.me/towk/makeshift/internal/kwargs"
type KVStore interface {
Init() error
Cleanup() error
SetKWArgs(kwargs *kwargs.KWArgs) error
GetKWArgs() (*kwargs.KWArgs, error)
Get(k string) (any, error)
Set(k string, v any) error
GetData() any