1# Beanstalk 2 3Go client for [beanstalkd](https://beanstalkd.github.io). 4 5## Install 6 7 $ go get github.com/beanstalkd/go-beanstalk 8 9## Use 10 11Produce jobs: 12 13 c, err := beanstalk.Dial("tcp", "127.0.0.1:11300") 14 id, err := c.Put([]byte("hello"), 1, 0, 120*time.Second) 15 16Consume jobs: 17 18 c, err := beanstalk.Dial("tcp", "127.0.0.1:11300") 19 id, body, err := c.Reserve(5 * time.Second) 20