Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyValueDB ¶
type KeyValueDB interface { Store(k []byte, v encoding.BinaryMarshaler) error Close() error ForEach(f func(k, v []byte) error) error Run(context.Context) Delete(k []byte) error }
func NewMemoryDB ¶
func NewMemoryDB() KeyValueDB
Click to show internal directories.
Click to hide internal directories.