Skip to content

Go client for beanstalkg - supports uuids as job ids

License

Notifications You must be signed in to change notification settings

beanstalkg/beanstalk

 
 

Repository files navigation

Beanstalk

Go client for beanstalkd.

Install

$ go get github.com/kr/beanstalk

Use

Produce jobs:

c, err := beanstalk.Dial("tcp", "127.0.0.1:11300")
id, err := c.Put([]byte("hello"), 1, 0, 120*time.Second)

Consume jobs:

c, err := beanstalk.Dial("tcp", "127.0.0.1:11300")
id, body, err := c.Reserve(5 * time.Second)

About

Go client for beanstalkg - supports uuids as job ids

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%