Go to file
mikespook 7614c2678a make a new branch, refactoring codes
--HG--
branch : 0.1
rename : gearman/client/client.go => client/client.go
rename : gearman/client/client_test.go => client/client_test.go
rename : gearman/client/clientjob.go => client/job.go
rename : gearman/gearman.go => common/gearman.go
rename : gearman/worker/jobagent.go => worker/jobagent.go
rename : gearman/worker/worker.go => worker/worker.go
rename : gearman/worker/worker_test.go => worker/worker_test.go
rename : gearman/worker/workerjob.go => worker/workerjob.go
2012-05-22 20:05:39 +08:00
client make a new branch, refactoring codes 2012-05-22 20:05:39 +08:00
common make a new branch, refactoring codes 2012-05-22 20:05:39 +08:00
example make a new branch, refactoring codes 2012-05-22 20:05:39 +08:00
worker make a new branch, refactoring codes 2012-05-22 20:05:39 +08:00
.hgtags Added tag native.start for changeset 0dc8bc71d7e8 2011-05-25 11:14:03 +08:00
gearman.go make a new branch, refactoring codes 2012-05-22 20:05:39 +08:00
LICENSE Added the client 2011-05-19 20:10:53 +08:00
README.md added new lines. 2012-03-26 14:10:15 +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/gearman/client

This will install the worker:

$ go get bitbucket.org/mikespook/gearman-go/gearman/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

xingxingmikespook@gmail.com

http://mikespook.com

http://twitter.com/mikespook