otredigo

package
v0.0.0-...-50a54d8 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectTo

func ConnectTo(redisURL string) (c redis.Conn, err error)

Types

type TracedConn

type TracedConn struct {
	ConnInfo string // host:port
	Db       int    // redis db identifier
	Conn     redis.Conn
	// contains filtered or unexported fields
}

TracedConn is a traced implementation of github.com/garyburd/redigo/redis.Conn

func (*TracedConn) Close

func (tc *TracedConn) Close() error

func (*TracedConn) Do

func (tc *TracedConn) Do(cmdName string, args ...interface{}) (reply interface{}, err error)

func (*TracedConn) Err

func (tc *TracedConn) Err() error

func (*TracedConn) Flush

func (tc *TracedConn) Flush() error

func (*TracedConn) Receive

func (tc *TracedConn) Receive() (reply interface{}, err error)

func (*TracedConn) Send

func (tc *TracedConn) Send(cmdName string, args ...interface{}) error

Jump to

Keyboard shortcuts

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