mirror of
https://github.com/safing/portbase
synced 2025-09-10 15:34:26 +00:00
Add GetMeta to database storage interface
This commit is contained in:
parent
3f3786b854
commit
0061572e1b
11 changed files with 170 additions and 32 deletions
|
@ -13,6 +13,7 @@ import (
|
|||
type Interface interface {
|
||||
// Primary Interface
|
||||
Get(key string) (record.Record, error)
|
||||
GetMeta(key string) (*record.Meta, error)
|
||||
Put(m record.Record) (record.Record, error)
|
||||
Delete(key string) error
|
||||
Query(q *query.Query, local, internal bool) (*iterator.Iterator, error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue