Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPingClosed = errs.New("ping interface has been closed") ErrBadPong = errs.New("pong response payload is bad") )
errors
View Source
var ( ErrBadAssert = errs.New("bad assert for redis") ErrBadCount = errs.New("bad count number") ErrBadRequest = errs.New("bad request") )
errors
View Source
var ( // ErrNodeConnClosed err node conn closed. ErrNodeConnClosed = errs.New("redis node conn closed") )
Functions ¶
func NewNodeConn ¶
func NewNodeConn(cluster, addr string, dialTimeout, readTimeout, writeTimeout time.Duration) (nc proto.NodeConn)
NewNodeConn create the node conn from proxy to redis
Types ¶
type NodeConn ¶ added in v1.4.0
type NodeConn = nodeConn
NodeConn is export type by nodeConn for redis-cluster.
type RESP ¶ added in v1.4.0
type RESP = resp
RESP is resp export type.
Click to show internal directories.
Click to hide internal directories.