package
Version:
v0.0.0-...-b89eba7
Opens a new window with list of versions in this module.
Published: Sep 26, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Report 尝试重试的报告
Result为函数执行结果,Times为尝试次数, Duration为函数执行时间,SumDuration为总执行时间, Errs为函数执行错误记录
Try 尝试重试函数,如果函数执行失败,则延长时间重试
name: 重试任务名称, F: 需要重试的函数, Duration 默认延迟重试时间, MaxTimes 最大重试次数
Run 开始尝试重试,返回chan可以用于接收尝试报告
Source Files
¶
Click to show internal directories.
Click to hide internal directories.