Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
mikespook 7614c2678a make a new branch, refactoring codes 12 år sedan
client make a new branch, refactoring codes 12 år sedan
common make a new branch, refactoring codes 12 år sedan
example make a new branch, refactoring codes 12 år sedan
worker make a new branch, refactoring codes 12 år sedan
.hgtags Added tag native.start for changeset 0dc8bc71d7e8 13 år sedan
LICENSE Added the client 13 år sedan
README.md added new lines. 12 år sedan
gearman.go make a new branch, refactoring codes 12 år sedan

README.md

Gearman API for golang

This module is Gearman API for golang. It was implemented a native protocol for both worker and client API.

Copyright 2012 Xing Xing mikespook@gmail.com All rights reserved. Use of this source code is governed by a MIT license that can be found in the LICENSE file.

INSTALL

This will install the client:

$ go get bitbucket.org/mikespook/gearman-go/gearman/client

This will install the worker:

$ go get bitbucket.org/mikespook/gearman-go/gearman/worker

This will install the client and the worker automatically:

$ go get bitbucket.org/mikespook/gearman-go

SAMPLE OF USAGE

Worker

$ cd example

$ go build worker

$ ./worker

Client

$ cd example

$ go build client

$ ./client

Code format

$ gofmt -spaces=true -tabwidth=4 -w=true -tabindent=false $(DIR)

Contacts

xingxingmikespook@gmail.com

http://mikespook.com

http://twitter.com/mikespook