func (c *RedisClient) Close() error {
	return c.conn.Close()
}
Close closes the underlying connection
package disque
import (
	"errors"
	"fmt"
	"log"
	"net"
	"strconv"
	"time"
	"github.com/garyburd/redigo/redis"
)
type Job struct {
	Queue string
	Data []byte
	id string
}
func (j Job) Id() string {
	return j.id
}
type AddRequest struct {
	Job Job
	Timeout time.Duration
	Replicate int
	Delay time.Duration
	Retry time.Duration
	TTL time.Duration
	Maxlen int
	Async bool
}
type HelloResponse struct {
	NodeId string
	Nodes  nodeList
}
type Client interface {
	Add(AddRequest) (string, error)
	AddMulti([]AddRequest) ([]string, error)
	Get(timeout time.Duration, queues ...string) (Job, error)
	GetMulti(count int, timeout time.Duration, queues ...string) ([]Job, error)
	Ack(jobIds ...string) error
	FastAck(jobIds ...string) error
	Qlen(qname string) (int, error)
	Hello() (HelloResponse, error)
	Close() error
}
type RedisClient struct {
	conn redis.Conn
	node Node
}