Documentation ¶
Index ¶
- Constants
- type Driver
- func (l Driver) Close() error
- func (l Driver) Delete(jobID int64) (err error)
- func (l Driver) Get(jobID int64) (driver.Job, error)
- func (l Driver) GetOne(Func, name string) (job driver.Job, err error)
- func (l Driver) NewIterator(Func []byte) driver.Iterator
- func (l Driver) Save(job *driver.Job, force ...bool) (err error)
- type Iterator
Constants ¶
View Source
const PREFUNC = "func:"
PREFUNC perfix func key
View Source
const PREJOB = "job:"
PREJOB prefix job key
View Source
const PRESEQUENCE = "sequence:"
PRESEQUENCE prefix sequence key
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
Driver define leveldb 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.