gearman-go/README.zh
mikespook 4bf2f63f4d Move the source files from src/pkg/gearman to src/.
--HG--
rename : src/pkg/gearman/Makefile => src/Makefile
rename : src/pkg/gearman/client.go => src/client.go
rename : src/pkg/gearman/client/job.go => src/client/job.go
rename : src/pkg/gearman/client_test.go => src/client_test.go
rename : src/pkg/gearman/gearman.go => src/gearman.go
rename : src/pkg/gearman/worker.go => src/worker.go
rename : src/pkg/gearman/worker/job.go => src/worker/job.go
rename : src/pkg/gearman/worker/jobclient.go => src/worker/jobclient.go
rename : src/pkg/gearman/worker_test.go => src/worker_test.go
2011-09-17 16:41:28 +08:00

25 lines
466 B
Plaintext

Go 语言的 Gearman API
这是 Go 语言的 Gearman API。
它使用 Go 语言原生实现了 Gearman 的 Worker 端和 Client 端 API 协议。
- 安装
$ cd ./src
$ make install
- 例程
# example/worker.go
$ make worker
$ ./worker
# example/client.go
$ make client
$ ./client
- 代码格式
gofmt -spaces=true -tabwidth=4 -w=true -tabindent=false $(DIR)
----
xingxing<mikespook@gmail.com>
http://mikespook.com
http://twitter.com/mikespook