26 lines
475 B
Plaintext
26 lines
475 B
Plaintext
Gearman API for golang
|
|
|
|
This module is Gearman API for golang.
|
|
It was implemented a native protocol for both worker and client API.
|
|
|
|
- INSTALL
|
|
$ cd ./src/pkg/gearman/
|
|
$ make install
|
|
|
|
- SAMPLE OF USAGE
|
|
# example/worker.go
|
|
$ make worker
|
|
$ ./worker
|
|
|
|
# example/client.go
|
|
$ make client
|
|
$ ./client
|
|
|
|
- Code format
|
|
gofmt -spaces=true -tabwidth=4 -w=true -tabindent=false $(DIR)
|
|
|
|
----
|
|
xingxing<mikespook@gmail.com>
|
|
http://mikespook.com
|
|
http://twitter.com/mikespook
|