Documentation ¶
Overview ¶
Package redis provides tracing functionality for the github.com/gomodule/redigo/redis package.
Index ¶
- func Dial(network, address string, options ...interface{}) (redis.Conn, error)
- func DialContext(ctx context.Context, network, address string, options ...interface{}) (redis.Conn, error)
- func DialURL(rawurl string, options ...interface{}) (redis.Conn, error)
- func DialURLContext(ctx context.Context, rawurl string, options ...interface{}) (redis.Conn, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dial ¶
Dial dials into the network address and returns a traced redis.Conn. The set of supported options must be either of type redis.DialOption or this package's DialOption. The returned redis.Conn is traced.
func DialContext ¶
func DialContext(ctx context.Context, network, address string, options ...interface{}) (redis.Conn, error)
DialContext connects to the Redis server at the given network and address using the specified options and context. The set of supported options must be either of type redis.DialOption or this package's DialOption. The returned redis.Conn is traced.
func DialURL ¶
DialURL connects to a Redis server at the given URL using the Redis URI scheme. URLs should follow the draft IANA specification for the scheme (https://www.iana.org/assignments/uri-schemes/prov/redis). The returned redis.Conn is traced.
func DialURLContext ¶
DialURLContext connects to a Redis server at the given URL using the Redis URI scheme. URLs should follow the draft IANA specification for the scheme (https://www.iana.org/assignments/uri-schemes/prov/redis). The returned redis.Conn is traced.
Types ¶
This section is empty.