Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 754 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 754 Bytes

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