gearman-go/worker/job.go
2013-12-21 11:09:13 +08:00

9 lines
145 B
Go

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