Documentation ¶
Index ¶
Constants ¶
View Source
const (
DEFAULT_Disk = "my.db"
)
Variables ¶
View Source
var (
JOB_BUCKET = []byte("job_list")
)
Functions ¶
Types ¶
type Disk ¶
type Disk struct {
// contains filtered or unexported fields
}
Disk a worker which writes jobs to a boltDisk
func (*Disk) ConfigStruct ¶
func (d *Disk) ConfigStruct() interface{}
ConfigStruct return the config structure for the DiskWorker
type DiskConfig ¶
type DiskParams ¶
type DiskParams struct { ExicutionTime int64 `json:"exicution_time"` Job json.RawMessage `json:"job"` }
Click to show internal directories.
Click to hide internal directories.