New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

github.com/kr/beanstalk

Package Overview
Dependencies
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/kr/beanstalk

Source
Go Modules
Version
v0.0.0-20180818045031-cae1762e4858
Version published
Created
Source

Beanstalk

Go client for beanstalkd.

New home

This package has a new home at https://github.com/beanstalkd/beanstalk.

The code is still available here to use, for any clients that depend on this import path, but there is no development on this repo. Maintenance and development now happen in the beanstalkd organization.

Please use github.com/beanstalkd/beanstalk in new code.

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)

FAQs

Package last updated on 18 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts