Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessFunc ¶
type ProcessFunc func()
type RingBuffer ¶
learn use of timeWheel
func (*RingBuffer) DeleteKeyTask ¶
func (r *RingBuffer) DeleteKeyTask(key string)
func (*RingBuffer) End ¶
func (r *RingBuffer) End()
func (*RingBuffer) Process ¶
func (r *RingBuffer) Process()
func (*RingBuffer) ProcessTask ¶
func (r *RingBuffer) ProcessTask(idx int64)
func (*RingBuffer) RegisterTask ¶
func (r *RingBuffer) RegisterTask(task Task)
func (*RingBuffer) Start ¶
func (r *RingBuffer) Start()
Click to show internal directories.
Click to hide internal directories.