Documentation ¶
Overview ¶
rtools provide useful utilities for redis.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
Pipeline wraps a redis.Conn to provide pipelining. It can be used by concurrent callers, so it may be a good idea to use it instead of a connection pool for non-blocking commands.
func (*Pipeline) Close ¶
Closes the connection and releases all resources. Previously registered callbacks will eventually be called.
Click to show internal directories.
Click to hide internal directories.