beanstalkd worker library,written in go.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.travis.yml
LICENSE
README.md
beanJob.go
beanJob_test.go
beanTube.go
beanTube_test.go
beanWorker.go
beanWorker_test.go

README.md

beanWork Build Status GoDoc

Worker client for beanstalkd. Written in Go by Yaron Sumel.

PR are welcome!

Install

$ go get github.com/yaronsumel/beanWork

Usage

    import "github.com/yaronsumel/beanWork"

	bw := &beanWork.BeanWorker{"tcp4","127.0.0.1:11300"}

	amountOfWorkers := 5
	bw.Worker("mytube",amountOfWorkers,func(job *beanWork.BeanJob) {
		//do some work here
		job.Delete()
	})
	
	bw.Run()

TBD

* Recover from lost connections