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.
 
 
 

24 lines
518 B

  1. // Copyright 2011 Xing Xing <mikespook@gmail.com> All rights reserved.
  2. // Use of this source code is governed by a MIT
  3. // license that can be found in the LICENSE file.
  4. /*
  5. This module is Gearman API for golang.
  6. The protocol was implemented by native way.
  7. */
  8. package gearman
  9. const (
  10. // Job type
  11. // JOB_NORMAL | JOB_BG means a normal level job run in background
  12. // normal level
  13. JOB_NORMAL = 0
  14. // background job
  15. JOB_BG = 1
  16. // low level
  17. JOB_LOW = 2
  18. // high level
  19. JOB_HIGH = 4
  20. )