Documentation ¶
Index ¶
- type Batch
- type Database
- func (*Database) Close() error
- func (*Database) Compact(_, _ []byte) error
- func (*Database) Delete([]byte) error
- func (*Database) Get([]byte) ([]byte, error)
- func (*Database) Has([]byte) (bool, error)
- func (*Database) HealthCheck(context.Context) (interface{}, error)
- func (*Database) NewBatch() database.Batch
- func (*Database) NewIterator() database.Iterator
- func (*Database) NewIteratorWithPrefix([]byte) database.Iterator
- func (*Database) NewIteratorWithStart([]byte) database.Iterator
- func (*Database) NewIteratorWithStartAndPrefix(_, _ []byte) database.Iterator
- func (*Database) Put(_, _ []byte) error
- type Iterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct{}
Batch does nothing
type Database ¶
type Database struct{}
Database is a lightning fast key value store with probabilistic operations.
func (*Database) HealthCheck ¶ added in v1.9.8
HealthCheck returns error
func (*Database) NewIterator ¶
NewIterator returns a new empty iterator
func (*Database) NewIteratorWithPrefix ¶
NewIteratorWithPrefix returns a new empty iterator
func (*Database) NewIteratorWithStart ¶
NewIteratorWithStart returns a new empty iterator
func (*Database) NewIteratorWithStartAndPrefix ¶
NewIteratorWithStartAndPrefix returns a new empty iterator
Click to show internal directories.
Click to hide internal directories.