Documentation ¶
Overview ¶
Package redis implements a driver for github.com/garyburd/redigo/redis
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Codec is the codec used to marshal/unmarshal interfaces into the byte slices required by the Diskv client Codec codec.Codec )
View Source
var DefaultClient = New(":6379", 10)
DefaultClient provides a local Redis client with 10 maximum concurrent connections
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
New returns a Redist client to the given server with maxConn maximum concurrent connections
Click to show internal directories.
Click to hide internal directories.