Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*options)
Option params set
func WithSchedule ¶
WithSchedule set schedule
type Storage ¶ added in v0.1.3
type Storage interface {
Get(key string) (entryID cron.EntryID, spec string, job cron.Job, exist bool, err error)
Set(key string, entryID cron.EntryID, spec string, job cron.Job) error
Update(key string, entryID cron.EntryID) error
Remove(key string) error
ListKeys() ([]string, error)
}
Storage storage interface
Click to show internal directories.
Click to hide internal directories.