Deprecated: Use github.com/gomodule/redigo instead.

package redisx

import "github.com/garyburd/redigo/redisx"

Package redisx contains experimental features for Redigo. Features in this package may be modified or deleted at any time.

Index

Types

type ConnMux

type ConnMux struct {
	// contains filtered or unexported fields
}

ConnMux multiplexes one or more connections to a single underlying connection. The ConnMux connections do not support concurrency, commands that associate server side state with the connection or commands that put the connection in a special mode.

func NewConnMux

func NewConnMux(c redis.Conn) *ConnMux

func (*ConnMux) Close

func (p *ConnMux) Close() error

Close closes the underlying connection.

func (*ConnMux) Get

func (p *ConnMux) Get() redis.Conn

Get gets a connection. The application must close the returned connection.

Source Files

connmux.go doc.go

Version
v1.6.4 (latest)
Published
Aug 31, 2022
Platform
linux/amd64
Imports
4 packages
Last checked
3 weeks ago

Tools for package owners.