Versions in this module Expand all Collapse all v2 v2.3.0 Dec 25, 2021 Changes in this version + type TaskCtl struct + RetryCount int + RunTime time.Time + func NewTaskCtl() TaskCtl + func (t *TaskCtl) GetRunTime() time.Time + func (t *TaskCtl) IsZeroRunTime() bool + func (t *TaskCtl) Retry(err error) + func (t *TaskCtl) SetError(err error) + func (t *TaskCtl) SetRetryCount(c int) + func (t *TaskCtl) SetRunTime(_t time.Time) + func (t TaskCtl) CanRetry() bool + func (t TaskCtl) GetError() error