10 lines
158 B
Go
10 lines
158 B
Go
package worker
|
|
|
|
type Job interface {
|
|
Err() error
|
|
Data() []byte
|
|
SendWarning(data []byte)
|
|
SendData(data []byte)
|
|
UpdateStatus(numerator, denominator int)
|
|
}
|