Versions in this module Expand all Collapse all v0 v0.1.0 Jun 25, 2026 Changes in this version + const Daily + const EveryFifteenMin + const EveryFiveMinutes + const EveryMinute + const EveryTenMinutes + const EveryThirtyMin + const Hourly + const Monthly + const StatusDone + const StatusFailed + const StatusSkipped + const Weekly + func DailyAt(hour, minute int) string + func Every(dur string) string + func HourlyAt(minute int) string + func Register(name string, fn JobFunc) + func Registered(name string) bool + func WeeklyOn(weekday, hour, minute int) string + type JobFunc func(ctx context.Context) error + type Run struct + Error string + Finished *time.Time + Job string + Started time.Time + Status string + type ScheduledJob struct + Name string + Paused bool + Spec string + type Service struct + func FromKernel(k *togo.Kernel) (*Service, bool) + func (s *Service) Jobs() []ScheduledJob + func (s *Service) Pause(name string) + func (s *Service) Resume(name string) + func (s *Service) Runs() []Run + func (s *Service) Schedule(name, spec string) error + func (s *Service) Stop() + func (s *Service) Trigger(ctx context.Context, name string) error + func (s *Service) Unschedule(name string)