You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 lines
158 B

  1. package worker
  2. type Job interface {
  3. Err() error
  4. Data() []byte
  5. SendWarning(data []byte)
  6. SendData(data []byte)
  7. UpdateStatus(numerator, denominator int)
  8. }