Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
pirms 12 gadiem
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Gearman API for golang
  2. This module is Gearman API for golang. It was implemented a native
  3. protocol for both worker and client API.
  4. Copyright 2012 Xing Xing <mikespook@gmail.com> All rights reserved.
  5. Use of this source code is governed by a MIT license that can be found
  6. in the LICENSE file.
  7. # INSTALL
  8. This will install the client:
  9. > $ go get bitbucket.org/mikespook/gearman-go/gearman/client
  10. This will install the worker:
  11. > $ go get bitbucket.org/mikespook/gearman-go/gearman/worker
  12. This will install the client and the worker automatically:
  13. > $ go get bitbucket.org/mikespook/gearman-go
  14. # SAMPLE OF USAGE
  15. ## Worker
  16. > $ cd example
  17. >
  18. > $ go build worker
  19. >
  20. > $ ./worker
  21. ## Client
  22. > $ cd example
  23. >
  24. > $ go build client
  25. >
  26. > $ ./client
  27. # Code format
  28. > $ gofmt -spaces=true -tabwidth=4 -w=true -tabindent=false $(DIR)
  29. # Contacts
  30. xingxing<mikespook@gmail.com>
  31. http://mikespook.com
  32. http://twitter.com/mikespook