Versions in this module Expand all Collapse all v1 v1.3.0 Dec 10, 2020 Changes in this version + var ErrClientDisconnected = errors.New("Client is not connected to the server") + type Client struct + func NewClient(addr string) (*Client, error) + func (c *Client) Cancel(id string) error + func (c *Client) Close() error + func (c *Client) InspectN(n int, jobs *[]*Job) error + func (c *Client) Next(timeout time.Duration) (string, []byte, error) + func (c *Client) Ping() error + func (c *Client) Put(body []byte, delay time.Duration) (string, error) + func (c *Client) PutWithID(id string, body []byte, delay time.Duration) error + type Job struct + Body []byte + Delay time.Duration + ID string