package
Version:
v0.0.0-...-d5eddb0
Opens a new window with list of versions in this module.
Published: Jun 19, 2018
License: AGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Conn is the redis resilient connection.
NewResilientConn returns a connection that automatically recover from failures.
Close terminates the goroutine that recover lost connections.
func (c *Conn) Do(commandName string, args ...interface{}) (interface{}, error)
type Redis interface {
Do(commandName string, args ...interface{}) (reply interface{}, err error)
Send(commandName string, args ...interface{}) error
Flush() error
Close() error
}
Redis is the interface of the Redis client.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.