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.
 
 
 
mikespook 517a3af333 Removed tag 0.0.1 12 jaren geleden
client refacotring worker's code 12 jaren geleden
common refacotring worker's code 12 jaren geleden
example The worker can be working now. 12 jaren geleden
worker The worker can be working now. 12 jaren geleden
.hgtags Removed tag 0.0.1 12 jaren geleden
LICENSE Added the client 13 jaren geleden
README.md fixing for 'go install' 12 jaren geleden
gearman.go fixing for 'go install' 12 jaren geleden

README.md

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.