package
0.9.5
Repository: https://github.com/joomcode/redispipe.git
Documentation: pkg.go.dev

# Functions

Connect establishes new connection to redis server.

# Constants

DoAsking is a flag for Connection.SendBatchFlag signalling to send ASKING request before transactions.
DoTransaction is a flag for Connection.SendBatchFlag signalling to wrap bunch of requests into MULTI/EXEC.
No description provided by the author
No description provided by the author

# Variables

EKConnection - key for connection that handled request.
EKDb - db number to select.
ErrAuth - password didn't match.
ErrConnection - connection was not established at the moment request were done, request is definitely not sent anywhere.
ErrConnSetup - other connection initialization error (including io errors).
ErrDial - could not connect.
ErrInit - other error during initial conversation with redis.
ErrNotConnected - connection were not established at the moment.
ErrTraitInitPermanent signals about non-transient error in initial communication with redis.

# Structs

Connection is implementation of redis.Sender which represents single connection to single redis instance.
DefaultLogger is default implementation of Logger.
LogConnected is logged when Connection established connection to redis.
LogConnectFailed is logged when connection establishing were unsuccessful.
LogConnecting is an event logged when Connection starts dialing to redis.
LogContextClosed is logged when Connection's context were closed, or Connection.Close() called.
LogDisconnected is logged when connection were broken.
NoopLogger is noop implementation of Logger Useful in tests.
Opts - options for Connection.
Scanner is an implementation of redis.Scanner.

# Interfaces

LogEvent is a sum-type for events to be logged.
Logger is a type for custom event and stat reporter.

# Type aliases

Future is an alias for redis.Future.
Request is an alias for redis.Request.