fixing for 'go install'
--HG-- branch : 0.1
This commit is contained in:
parent
d6a9025a56
commit
bd2478557e
11
README.md
11
README.md
@ -11,11 +11,11 @@ in the LICENSE file.
|
||||
|
||||
This will install the client:
|
||||
|
||||
> $ go get bitbucket.org/mikespook/gearman-go/gearman/client
|
||||
> $ go get bitbucket.org/mikespook/gearman-go/client
|
||||
|
||||
This will install the worker:
|
||||
|
||||
> $ go get bitbucket.org/mikespook/gearman-go/gearman/worker
|
||||
> $ go get bitbucket.org/mikespook/gearman-go/worker
|
||||
|
||||
This will install the client and the worker automatically:
|
||||
|
||||
@ -46,8 +46,13 @@ This will install the client and the worker automatically:
|
||||
|
||||
# Contacts
|
||||
|
||||
xingxing<mikespook@gmail.com>
|
||||
Xing Xing <mikespook@gmail.com>
|
||||
|
||||
http://mikespook.com
|
||||
|
||||
http://twitter.com/mikespook
|
||||
|
||||
# History
|
||||
|
||||
* 0.1 Refactoring code, redesign the API.
|
||||
* 0.0.1 Initial implementation, ugly code-style, slow profermance and unstable API.
|
||||
|
15
gearman.go
15
gearman.go
@ -9,15 +9,8 @@ The protocol was implemented by native way.
|
||||
|
||||
package gearman
|
||||
|
||||
const (
|
||||
// Job type
|
||||
// JOB_NORMAL | JOB_BG means a normal level job run in background
|
||||
// normal level
|
||||
JOB_NORMAL = 0
|
||||
// background job
|
||||
JOB_BG = 1
|
||||
// low level
|
||||
JOB_LOW = 2
|
||||
// high level
|
||||
JOB_HIGH = 4
|
||||
import (
|
||||
_ "bitbucket.org/mikespook/gearman-go/common"
|
||||
_ "bitbucket.org/mikespook/gearman-go/client"
|
||||
_ "bitbucket.org/mikespook/gearman-go/worker"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user