Documentation
¶
Index ¶
- func NewDatabase(path string) levelup.DB
- type LevelDown
- func (l LevelDown) Batch(ops []levelup.Operation) error
- func (l LevelDown) Close()
- func (l LevelDown) Del(key []byte) error
- func (l LevelDown) Erase()
- func (l LevelDown) Get(key []byte) ([]byte, error)
- func (l LevelDown) Put(key, value []byte) error
- func (l LevelDown) ReadRange(opts *levelup.RangeOpts) levelup.ReadIterator
- type ReadIterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDatabase ¶
Types ¶
type ReadIterator ¶
type ReadIterator struct {
// contains filtered or unexported fields
}
func (*ReadIterator) Error ¶
func (ri *ReadIterator) Error() error
func (*ReadIterator) Key ¶
func (ri *ReadIterator) Key() []byte
func (*ReadIterator) Next ¶
func (ri *ReadIterator) Next()
func (*ReadIterator) Release ¶
func (ri *ReadIterator) Release()
func (*ReadIterator) Valid ¶
func (ri *ReadIterator) Valid() bool
func (*ReadIterator) Value ¶
func (ri *ReadIterator) Value() []byte
Click to show internal directories.
Click to hide internal directories.