Go to file
mikespook bd2478557e fixing for 'go install'
--HG--
branch : 0.1
2012-05-24 16:56:36 +08:00
client refacotring worker's code 2012-05-23 17:45:52 +08:00
common refacotring worker's code 2012-05-23 17:45:52 +08:00
example The worker can be working now. 2012-05-24 16:49:35 +08:00
worker The worker can be working now. 2012-05-24 16:49:35 +08:00
.hgtags Added tag native.start for changeset 0dc8bc71d7e8 2011-05-25 11:14:03 +08:00
gearman.go fixing for 'go install' 2012-05-24 16:56:36 +08:00
LICENSE Added the client 2011-05-19 20:10:53 +08:00
README.md fixing for 'go install' 2012-05-24 16:56:36 +08:00

Gearman API for golang

This module is Gearman API for golang. It was implemented a native protocol for both worker and client API.

Copyright 2012 Xing Xing mikespook@gmail.com All rights reserved. Use of this source code is governed by a MIT license that can be found in the LICENSE file.

INSTALL

This will install the client:

$ go get bitbucket.org/mikespook/gearman-go/client

This will install the worker:

$ go get bitbucket.org/mikespook/gearman-go/worker

This will install the client and the worker automatically:

$ go get bitbucket.org/mikespook/gearman-go

SAMPLE OF USAGE

Worker

$ cd example

$ go build worker

$ ./worker

Client

$ cd example

$ go build client

$ ./client

Code format

$ gofmt -spaces=true -tabwidth=4 -w=true -tabindent=false $(DIR)

Contacts

Xing Xing mikespook@gmail.com

http://mikespook.com

http://twitter.com/mikespook

History

  • 0.1 Refactoring code, redesign the API.
  • 0.0.1 Initial implementation, ugly code-style, slow profermance and unstable API.