Versions in this module Expand all Collapse all v1 v1.0.0 Nov 26, 2015 Changes in this version + var ErrNil = errors.New("nil reply") + func Bool(reply interface{}, err error) (bool, error) + func Bytes(reply interface{}, err error) ([]byte, error) + func Float64(reply interface{}, err error) (float64, error) + func Int(reply interface{}, err error) (int, error) + func Int64(reply interface{}, err error) (int64, error) + func Ints(reply interface{}, err error) ([]int, error) + func Scan(src []interface{}, dst ...interface{}) ([]interface{}, error) + func String(reply interface{}, err error) (string, error) + func StringMap(result interface{}, err error) (map[string]string, error) + func Strings(reply interface{}, err error) ([]string, error) + func Values(reply interface{}, err error) ([]interface{}, error) + type Batch interface + Put func(cmd string, args ...interface{}) error + type Cluster interface + Do func(cmd string, args ...interface{}) (interface{}, error) + NewBatch func() Batch + RunBatch func(batch Batch) ([]interface{}, error) + func NewCluster(options *Options) (Cluster, error) + type Options struct + AliveTime time.Duration + ConnTimeout time.Duration + KeepAlive int + ReadTimeout time.Duration + StartNodes []string + WriteTimeout time.Duration