Files
store/storer.go
Ian Gulliver 570716e0af Initial commit
2023-04-20 18:08:42 +00:00

12 lines
280 B
Go

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)
}