Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoRedisConfig = errors.New("no redis configuration found with config prefix")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Pipeline() Pipeline // contains filtered or unexported methods }
func NewRedisDefaultConfig ¶
func NewRedisDefaultConfig(prefix string, defaultConfig *CommonConfig) (client Client, err error)
type ClientWrapper ¶
func (*ClientWrapper) Pipeline ¶
func (c *ClientWrapper) Pipeline() Pipeline
type ClusterClientWrapper ¶
type ClusterClientWrapper struct {
*redis.ClusterClient
}
func (*ClusterClientWrapper) Pipeline ¶
func (c *ClusterClientWrapper) Pipeline() Pipeline
type CommonConfig ¶
Click to show internal directories.
Click to hide internal directories.