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.
type ConnMux struct {
// contains filtered or unexported fields
}
func NewConnMux(c redis.Conn) *ConnMux
func (p *ConnMux) Close() error
Close closes the underlying connection.
func (p *ConnMux) Get() redis.Conn
Get gets a connection. The application must close the returned connection.