Documentation
¶
Index ¶
- type List
- func (l *List) Checkpoint()
- func (l *List) Count() int
- func (l *List) Get(key []byte) (val []byte, ok bool)
- func (l *List) GetIterAt(key []byte) (it *ListIter)
- func (l *List) GetIterFromSearchFn(kontinue SearchFn) (it *ListIter)
- func (l *List) Has(key []byte) (ok bool)
- func (l *List) IterAtEnd() *ListIter
- func (l *List) IterAtStart() *ListIter
- func (l *List) Put(key, val []byte)
- func (l *List) Revert()
- func (l *List) Truncate()
- type ListIter
- type SearchFn
- type ValueCmp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List struct {
// contains filtered or unexported fields
}
func NewSkipList ¶
func (*List) Checkpoint ¶
func (l *List) Checkpoint()
Checkpoint records a checkpoint that can be reverted to.
func (*List) GetIterFromSearchFn ¶
func (*List) IterAtStart ¶
Click to show internal directories.
Click to hide internal directories.