Versions in this module Expand all Collapse all v1 v1.0.1 Aug 4, 2020 v1.0.0 Aug 4, 2020 v0 v0.1.0 Aug 4, 2020 Changes in this version + type Item struct + Active int64 + Id int + InstancePointer interface{} + func (i *Item) Less(item btree.Item) bool + type List struct + MutexLock *sync.RWMutex + Tree *btree.BTree + func New() *List + func (list *List) Add(id int, instancePointer interface{}) + func (list *List) Delete(id int) + func (list *List) Get(id int) *Item + func (list *List) Lock() + func (list *List) Unlock() + func (list *List) UpdateActive(id int, timestamp int64) bool + func (list *List) UpdateActiveByTime(id int) bool