Discover Packages
github.com/beatlabs/patron
client
redis
package
Version:
v0.50.2
Opens a new window with list of versions in this module.
Published: Feb 8, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package redis provides a client with included tracing capabilities.
Nil represents the error which is returned in case a key is not found.
type Client struct {
*redis.Client
}
Client represents a connection with a Redis client.
New returns a new Redis client.
Close closes the connection to the underlying Redis client.
Do creates and processes a custom Cmd on the underlying Redis client.
Ping contacts the redis client, and returns 'PONG' if the client is reachable.
It can be used to test whether a connection is still alive, or measure latency.
type Options redis.Options
Options wraps redis.Options for easier usage.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.