gearman-go/worker/job.go

9 lines
145 B
Go
Raw Normal View History

2013-08-30 18:01:10 +08:00
package worker
type Job interface {
Data() []byte
SendWarning(data []byte)
SendData(data []byte)
UpdateStatus(numerator, denominator int)
}