//
pkg.gl
Category
github.com/cloudapex/ulib
evn
package
1.0.3
Repository:
https://github.com/cloudapex/ulib.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
0
Files
226 SLOC
#
Functions
Controller
No description provided by the author
EventDoFun
事件(闭包)结构(供业务继承).
Install
安装控制器.
Listen
Listen 动态监听事件(一般情况下使用Register).
Post
投递事件(orderly:此事件是否需要被有序处理).
PostDo
投递事件并自动监听(orderly:此事件是否需要被有序处理).
Register
Register 预注册监听事件.
#
Constants
C_TASK_EXIT_TIME_OUT
task 退出超时.
#
Variables
Ctl
默认事件系统控制器.
#
Structs
Config
No description provided by the author
Event
事件基本结构(供业务简单使用).
EventDo
No description provided by the author
Task
Task.
#
Interfaces
IContrler
> 控制器接口.
IEvent
> 事件对象接口.
IEventDo
> 事件(闭包)接口.
TaskHandler
==================== Task.
#
Type aliases
TaskHandFunc
No description provided by the author
TEventHandler
事件处理器原型.
TEventID
事件Id类型.