Versions in this module Expand all Collapse all v0 v0.0.5 Sep 29, 2022 Changes in this version + const CrondMust + const CrondWait + const TimeDev + var ErrCtxTimeout = errors.New("上下文通知请求结束") + func IsCancel(ctx context.Context) bool + func NewContext(timeout time.Duration) context.Context + func NewContextWithReuqest() context.Context + func StartCrondWithTimestamp(label string, callback CrondCallback) + func TomorrowWaitDuration(currentTimestamp, waitSeconds int64) time.Duration + type CrondCallback func(int642 int64) time.Duration