redis

package
v0.0.0-...-4d63041 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package redis provides tracing functionality for the github.com/gomodule/redigo/redis package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(network, address string, options ...interface{}) (redis.Conn, error)

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

func DialURL(rawurl string, options ...interface{}) (redis.Conn, error)

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

func DialURLContext(ctx context.Context, rawurl string, options ...interface{}) (redis.Conn, error)

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.

Directories

Path Synopsis
test module

Jump to

Keyboard shortcuts

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