command
module
Version:
v0.0.0-...-89dd690
Opens a new window with list of versions in this module.
Published: Apr 2, 2021
License: BSD-2-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
hasaki-service-ticker-task
设置定时任务
AddTask: 注册处理定时任务的函数
- taskType: 定时任务类型
- f func(*TickerTaskItem) error: 处理函数
AddTaskItem: 添加一个定时任务
- taskType: 定时任务类型(与注册的处理函数的任务类型一致)
- data: 处理返回的数据
- expiredAt: 过期时间(未来的某个时间点)
LaunchTask: 启动函数
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.