pages-server/server/database/interface.go
2021-12-05 18:20:36 +01:00

13 lines
267 B
Go

package database
import "github.com/akrylysov/pogreb"
type CertDB interface {
Close() error
Put(key []byte, value []byte) error
Get(key []byte) ([]byte, error)
Delete(key []byte) error
Compact() (pogreb.CompactionResult, error)
Items() *pogreb.ItemIterator
}