Documentation ¶
Index ¶
- Constants
- type Driver
- func (r Driver) Close() error
- func (r Driver) Delete(jobID int64) (err error)
- func (r Driver) Get(jobID int64) (job driver.Job, err error)
- func (r Driver) GetOne(Func string, jobName string) (job driver.Job, err error)
- func (r Driver) NewIterator(Func []byte) driver.Iterator
- func (r Driver) Save(job *driver.Job, force ...bool) (err error)
- type Iterator
Constants ¶
View Source
const PREFIX = "periodic:job:"
PREFIX the redis key prefix
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
Driver define a redis store driver
func (Driver) NewIterator ¶
NewIterator create a job Iterator with func or nil.
type Iterator ¶
type Iterator struct { Func []byte // contains filtered or unexported fields }
Iterator define the job iterator
Click to show internal directories.
Click to hide internal directories.