Documentation ¶
Index ¶
- func Marshal(db *DB) ([]byte, error)
- type DB
- func (db *DB) Add(ctx context.Context, epb *dpb.Entry) (*dpb.Entry, error)
- func (db *DB) Delete(ctx context.Context, id *dpb.LinkedID) (*dpb.Entry, error)
- func (db *DB) Get(ctx context.Context, id *dpb.LinkedID, opts interface{}) (*dpb.Entry, error)
- func (db *DB) Put(ctx context.Context, epb *dpb.Entry) (*dpb.Entry, error)
- func (db *DB) Search(ctx context.Context, opts interface{}) ([]*dpb.Entry, error)
- type GetOpts
- type SearchOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SearchOpts ¶ added in v0.3.8
Click to show internal directories.
Click to hide internal directories.