Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimingWheel ¶
type TimingWheel struct {
// contains filtered or unexported fields
}
func NewTimingWheel ¶
func NewTimingWheel(interval time.Duration, slotsNum uint) (t *TimingWheel)
func (*TimingWheel) After ¶
func (t *TimingWheel) After(task *Task) *Task
func (*TimingWheel) Del ¶
func (t *TimingWheel) Del(task *Task)
func (*TimingWheel) Stop ¶
func (t *TimingWheel) Stop()
Click to show internal directories.
Click to hide internal directories.