Continue work on database module

This commit is contained in:
Daniel 2018-09-06 19:06:13 +02:00
parent 7ad09b60c1
commit b8e7f90dbe
25 changed files with 962 additions and 1073 deletions

View file

@ -2,13 +2,12 @@ package storage
import (
"github.com/Safing/portbase/database/iterator"
"github.com/Safing/portbase/database/record"
"github.com/Safing/portbase/database/query"
"github.com/Safing/portbase/database/record"
)
// Interface defines the database storage API.
type Interface interface {
Exists(key string) (bool, error)
Get(key string) (record.Record, error)
Put(m record.Record) error
Delete(key string) error