Initial commit

This commit is contained in:
Ian Gulliver
2023-04-20 18:08:42 +00:00
parent 288fc48ad9
commit 570716e0af
10 changed files with 435 additions and 0 deletions

11
storer.go Normal file
View File

@@ -0,0 +1,11 @@
package store
import "context"
type Storer interface {
Close()
Write(context.Context, string, any) error
Delete(context.Context, string, string) error
Read(context.Context, string, string, func() any) (any, error)
List(context.Context, string, func() any) ([]any, error)
}