package
0.0.0-20250219033730-6c76daace332
Repository: https://github.com/tianlin0/go-plat-utils.git
Documentation: pkg.go.dev
# Functions
AsyncExecuteDataList 异步执行数据列表,返回是否全部执行 return: bool 是否完成循环。 error 执行过程中是否有错误.
AsyncExecuteFuncList 异步执行方法,返回是否全部执行.
CloseRoutinePool 不用了,关闭池.
DelContext 删除上下文.
GetContext 获取上下文.
GoAsync 异步方法.
GoSync 同步方法.
InitContext 设置上下文,需要在入口协程上执行,会返回当前的IdKey.
No description provided by the author
OpenRoutinePool 启动一个全局的goroutine的协程池,只会执行一次.
RunWithTimeout 执行一个方法带过期时间.
SetContext 设置上下文.
SetDefaultPanicHandle panic的方法.