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.
 
 
 

479 B

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