redisx

package
v1.4.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL