Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Executor = func(f func()) {
go f()
}
Functions ¶
This section is empty.
Types ¶
type TimingWheel ¶
type TimingWheel struct {
// contains filtered or unexported fields
}
TimingWheel the timing wheel ticker implementation
func NewTimingWheel ¶
func NewTimingWheel(interval time.Duration, wheels int, slots int) *TimingWheel
func (*TimingWheel) Stop ¶
func (w *TimingWheel) Stop()
Click to show internal directories.
Click to hide internal directories.