Documentation ¶
Overview ¶
CRON的接口注入任务
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Regedit ¶
func Regedit(r *gin.RouterGroup, restr bool)
此函数为直接注入路由,所以无需使用GET/POST等形式添加路由信息 PS: 此处的接口均需要登陆才能访问【此处仅做了uid大于0的判定,所以前文需要先使用中间件进行判定写入uid】
r gin路由组 config xnsq配置信息 restr 是否直接重启Crontab任务轮询
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.