Added upload.py for codereview; README in Chinese.
This commit is contained in:
parent
7a4bbcdc55
commit
1ad734ceb4
24
README.zh
Normal file
24
README.zh
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
Go 语言的 Gearman API
|
||||||
|
|
||||||
|
这是 Go 语言的 Gearman API。
|
||||||
|
它使用 Go 语言原生实现了 Gearman 的 Worker 端和 Client 端 API 协议。
|
||||||
|
|
||||||
|
- 安装
|
||||||
|
$ cd ./src/pkg/gearman/
|
||||||
|
$ 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
|
Loading…
Reference in New Issue
Block a user