Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FuncTable ¶
type FuncTable = map[*events.BLiveEventHandler]struct{}
FuncTable 空结构体不占空间,作为hashSet使用 函数指针内存唯一
type Handler ¶
type Handler struct { CmdChan chan *events.BLiveEvent DoFunc CmdTable //函数反查表 FuncPath map[*events.BLiveEventHandler]int }
func (*Handler) AddOption ¶
func (handler *Handler) AddOption(RoomId int, Do events.BLiveEventHandler) *events.BLiveEventHandler
func (*Handler) CmdHandler ¶
func (handler *Handler) CmdHandler()
func (*Handler) DelOption ¶
func (handler *Handler) DelOption(p *events.BLiveEventHandler)
func (*Handler) DelRoomOption ¶
Click to show internal directories.
Click to hide internal directories.