Documentation ¶
Overview ¶
Package redisdumb contains dumbest implementation of redis.Sender
Index ¶
- Variables
- func Do(addr string, cmd string, args ...interface{}) interface{}
- type Conn
- func (c *Conn) Close()
- func (c *Conn) Do(cmd string, args ...interface{}) interface{}
- func (c *Conn) EachShard(f func(redis.Sender, error) bool)
- func (c *Conn) Scanner(opts redis.ScanOpts) redis.Scanner
- func (c *Conn) Send(r redis.Request, cb redis.Future, n uint64)
- func (c *Conn) SendMany(reqs []redis.Request, cb redis.Future, n uint64)
- func (c *Conn) SendTransaction(reqs []redis.Request, cb redis.Future, n uint64)
- type ConnType
- type Scanner
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTimeout time.Duration = 5 * time.Second
DefaultTimeout is default timeout.
Functions ¶
Types ¶
type Conn ¶
Conn is a simplest blocking implementation of redis.Sender.
func (*Conn) Do ¶
Do issues command to servers. It handles reconnection and redirection (if Conn.Type==TypeCluster).
Click to show internal directories.
Click to hide internal directories.