Documentation ¶ Index ¶ type SkipList func NewSkipList() *SkipList func (sl *SkipList) Get(score int64) interface{} func (sl *SkipList) Insert(score int64, val interface{}) func (sl *SkipList) Levels() int func (sl *SkipList) Print() func (sl *SkipList) Remove(score int64) interface{} func (sl *SkipList) Size() int Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type SkipList ¶ type SkipList struct { // contains filtered or unexported fields } func NewSkipList ¶ func NewSkipList() *SkipList func (*SkipList) Get ¶ func (sl *SkipList) Get(score int64) interface{} func (*SkipList) Insert ¶ func (sl *SkipList) Insert(score int64, val interface{}) func (*SkipList) Levels ¶ func (sl *SkipList) Levels() int func (*SkipList) Print ¶ func (sl *SkipList) Print() func (*SkipList) Remove ¶ func (sl *SkipList) Remove(score int64) interface{} func (*SkipList) Size ¶ func (sl *SkipList) Size() int Source Files ¶ View all Source files skiplist.go Click to show internal directories. Click to hide internal directories.