Skip to content

yaronsumel/beanWork

Repository files navigation

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

About

beanstalkd worker library,written in go.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages