gearman-go/worker/job.go
2013-12-26 12:06:47 +08:00

10 lines
158 B
Go

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