Files
store/storer.go

12 lines
280 B
Go
Raw Normal View History

2023-04-20 18:08:42 +00:00
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)
}