Documentation
¶
Overview ¶
* @Author: cnzf1 * @Date: 2022-12-12 15:22:54 * @LastEditors: cnzf1 * @LastEditTime: 2022-12-13 14:45:01 * @Description:
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
func NewEventHandler ¶
func NewEventHandler(h HandlerFunc, size ...int) *EventHandler
func (*EventHandler) Len ¶
func (e *EventHandler) Len() int
func (*EventHandler) Push ¶
func (e *EventHandler) Push(req lang.AnyType)
Push a request msg to handler
func (*EventHandler) Stop ¶
func (e *EventHandler) Stop()
type HandlerFunc ¶
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
func (*Queue) ProcessingLen ¶
func (*Queue) ShutDownWithDrain ¶
func (q *Queue) ShutDownWithDrain()
func (*Queue) ShuttingDown ¶
Click to show internal directories.
Click to hide internal directories.