rdb

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redis

type Redis struct {
	// contains filtered or unexported fields
}

Redis is our wrapper logic to instrument redis calls

func NewClient

func NewClient(addresses []string) (*Redis, error)

NewClient is used to create new Redis type. This type encapsulates our interaction with redis and provides instrumentation with new relic.

func (*Redis) Client

func (r *Redis) Client() redis.UniversalClient

Client is to return underlying redis interface

func (*Redis) MakeRedisClient

func (r *Redis) MakeRedisClient() interface{}

MakeRedisClient is used to fulfill asynq's interface

Jump to

Keyboard shortcuts

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