Versions in this module Expand all Collapse all v1 v1.8.0 Sep 21, 2018 Changes in this version + func SetTimeWheel(t *TimeWheel) + type Job func(arge interface{}) + type Task struct + type TaskData interface + type TimeWheel struct + func GetTimeWheel() *TimeWheel + func New(interval time.Duration, slotNum int) *TimeWheel + func (tw *TimeWheel) AddTimer(delay time.Duration, data TaskData, job Job) + func (tw *TimeWheel) AddTimerCustom(delay time.Duration, key interface{}, data TaskData, job Job) + func (tw *TimeWheel) RemoveTimer(key interface{}) + func (tw *TimeWheel) Start(closeSig chan bool) + func (tw *TimeWheel) Stop() v1.6.7 Feb 27, 2018 Changes in this version + func Delete(node *Node) + func Run(closeSig chan bool) + func SetTimer(inteval uint32, handler func(interface{}), args interface{}) + type LinkedList struct + func NewLinkedList() *LinkedList + func (this *LinkedList) PushBack(node Node) *Node + func (this LinkedList) GetHead() *Node + func (this LinkedList) GetLast() *Node + func (this LinkedList) Length() uint + type Node struct + func (this *Node) Data() (data interface{}) + func (this *Node) InsertHead(node Node) *Node + func (this *Node) Next() (node *Node) + func (this *Node) Prev() (node *Node) + func (this *Node) SetData(data interface{})