implement a store abstraction

This commit is contained in:
2026-07-11 16:38:40 +01:00
parent 0a657682f6
commit b70ac40e37
2 changed files with 27 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
package internal
// EphemeralStore loads an empty state and discards everything on save
type EphemeralStore struct{}
func (EphemeralStore) Load() (map[string]*FillerQueue, error) {
return make(map[string]*FillerQueue), nil
}
func (EphemeralStore) Save(map[string]*FillerQueue) error {
return nil
}