docstore/pkg/store/kvstore.go
2019-09-09 08:27:51 +02:00

11 lines
273 B
Go

// Copyright (C) 2019 Marius Schellenberger
package store
type KVStore interface {
Get(string, interface{}) error
Set(string, interface{}) error
ForEach(func(string, []byte) error) error
ForEachPrefix(string, func(string, []byte) error) error
Delete(string) error
}