gearman-go/worker/job.go
2013-12-30 14:14:19 -08:00

12 lines
194 B
Go

package worker
type Job interface {
Err() error
Data() []byte
SendWarning(data []byte)
SendData(data []byte)
UpdateStatus(numerator, denominator int)
Handle() string
UniqueId() string
}