Documentation ¶
Index ¶
- type LevelBatch
- func (batch *LevelBatch) Close()
- func (batch *LevelBatch) Commit() error
- func (batch *LevelBatch) Del(key []byte) error
- func (batch *LevelBatch) Get(key []byte) ([]byte, error)
- func (batch *LevelBatch) Iterate(opt *engine.PrefixIteratorOption, handle func([]byte, []byte) error) error
- func (batch *LevelBatch) Reset()
- func (batch *LevelBatch) Set(key []byte, value []byte) error
- type LevelStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LevelBatch ¶
type LevelBatch struct {
// contains filtered or unexported fields
}
func (*LevelBatch) Close ¶
func (batch *LevelBatch) Close()
func (*LevelBatch) Commit ¶
func (batch *LevelBatch) Commit() error
func (*LevelBatch) Del ¶
func (batch *LevelBatch) Del(key []byte) error
func (*LevelBatch) Iterate ¶
func (batch *LevelBatch) Iterate(opt *engine.PrefixIteratorOption, handle func([]byte, []byte) error) error
func (*LevelBatch) Reset ¶
func (batch *LevelBatch) Reset()
type LevelStore ¶
type LevelStore struct {
// contains filtered or unexported fields
}
func NewLevelStore ¶
func NewLevelStore() *LevelStore
func (*LevelStore) Close ¶
func (store *LevelStore) Close() error
func (*LevelStore) NewBatch ¶
func (store *LevelStore) NewBatch() engine.Batch
Click to show internal directories.
Click to hide internal directories.