Documentation
¶
Index ¶
- Constants
- type Job
- type Queue
- func (q *Queue) Close() error
- func (q *Queue) Jobs(tube string) ([]*Job, error)
- func (q *Queue) Maintanence() error
- func (q *Queue) Put(tube string, priority int, ttr int, data []byte) error
- func (q *Queue) Reserve(tube string, timeout int) (*Job, error)
- func (q *Queue) Tube(tube string) (*Tube, error)
- type Tube
Constants ¶
View Source
const ( STATE_UNKNOWN = iota STATE_READY STATE_RESERVED )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
Click to show internal directories.
Click to hide internal directories.