Versions in this module Expand all Collapse all v6 v6.4.0 May 18, 2020 Changes in this version + const Big + const Equal + const Small + type Iterator struct + func (sli *Iterator) First() *SkipValue + func (sli *Iterator) Last() *SkipValue + func (sli *Iterator) Next() *Iterator + func (sli *Iterator) Prev() *Iterator + func (sli *Iterator) Seek(value *SkipValue) *SkipValue + func (sli *Iterator) Value() *SkipValue + type Queue struct + func NewQueue(maxsize int64) *Queue + func (cache *Queue) CreateSkipValue(item Scorer) *SkipValue + func (cache *Queue) Exist(hash string) bool + func (cache *Queue) First() Scorer + func (cache *Queue) GetCacheBytes() int64 + func (cache *Queue) GetItem(hash string) (Scorer, error) + func (cache *Queue) Insert(hash string, item Scorer) + func (cache *Queue) Last() Scorer + func (cache *Queue) MaxSize() int64 + func (cache *Queue) Push(item Scorer) error + func (cache *Queue) Remove(hash string) error + func (cache *Queue) Size() int + func (cache *Queue) Walk(count int, cb func(value Scorer) bool) + type Scorer interface + ByteSize func() int64 + Compare func(Scorer) int + GetScore func() int64 + Hash func() []byte + type SkipList struct + func NewSkipList(min *SkipValue) *SkipList + func (sl *SkipList) Delete(value *SkipValue) int + func (sl *SkipList) Find(value *SkipValue) *SkipValue + func (sl *SkipList) FindCount() int + func (sl *SkipList) FindGreaterOrEqual(value *SkipValue) *SkipValue + func (sl *SkipList) GetIterator() *Iterator + func (sl *SkipList) Insert(value *SkipValue) int + func (sl *SkipList) Len() int + func (sl *SkipList) Level() int + func (sl *SkipList) Print() + func (sl *SkipList) Walk(cb func(value interface{}) bool) + func (sl *SkipList) WalkS(cb func(value interface{}) bool) + type SkipValue struct + Score int64 + Value interface{} + func (v *SkipValue) Compare(value *SkipValue) int Other modules containing this package github.com/33cn/chain33