gearman-go/README.md
mikespook e0c1537e8e code refactoring, upgrade to GO1 RC2
--HG--
rename : README => README.md
rename : src/gearman/client.go => gearman/client/client.go
rename : src/gearman/client_test.go => gearman/client/client_test.go
rename : src/gearman/clientjob.go => gearman/client/clientjob.go
rename : src/gearman/gearman.go => gearman/gearman.go
rename : src/gearman/jobagent.go => gearman/worker/jobagent.go
rename : src/gearman/worker.go => gearman/worker/worker.go
rename : src/gearman/worker_test.go => gearman/worker/worker_test.go
rename : src/gearman/workerjob.go => gearman/worker/workerjob.go
2012-03-26 13:32:59 +08:00

47 lines
918 B
Markdown

# 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
xingxing<mikespook@gmail.com>
http://mikespook.com
http://twitter.com/mikespook