Documentation ¶
Index ¶
- Variables
- func RandUint32() uint32
- type MemTable
- type SkipList
- func (sk *SkipList) Count() uint64
- func (sk *SkipList) Get(key []byte) ([]byte, bool)
- func (sk *SkipList) Print()
- func (sk *SkipList) Range(f func(k, v []byte) bool)
- func (sk *SkipList) Remove(_ uint64) ([]byte, bool)
- func (sk *SkipList) Scan(start, end []byte, f func(k, v []byte) bool)
- func (sk *SkipList) Set(key, value []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAllowedBytesExceeded = errors.New("memtable allowed bytes exceeded")
Functions ¶
Types ¶
type SkipList ¶
type SkipList struct {
// contains filtered or unexported fields
}
func NewSkipList ¶
func NewSkipList() *SkipList
Click to show internal directories.
Click to hide internal directories.