Versions in this module Expand all Collapse all v0 v0.0.1 Jan 30, 2026 Changes in this version + type Engine struct + func NewEngine(ctx context.Context) *Engine + func (engine *Engine) Clear() + func (engine *Engine) Register(policy string, job Job) error + func (engine *Engine) RegisterWithTime(from time.Time, policy string, job Job) error + type Job interface + Do func(time.Time) + Finished func() bool + type Policy struct + func ParsePolicy(from time.Time, s string) (Policy, error) + func ParsePolicyBytes(from time.Time, s []byte) (Policy, error) + func (policy *Policy) NextTime(now int64) int64