otredis

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 7 Imported by: 0

README

opentracing-goredisv8

A opentracing module for go-redis v8 and later

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHook

func NewHook(opts ...ApplyOption) redis.Hook

NewHook returns a redis.Hook that reports cmds as spans. for default, hook will use global tracer for tracing.

Types

type ApplyOption added in v0.2.0

type ApplyOption func(h *hook)

func WithTracer added in v0.2.0

func WithTracer(tracer opentracing.Tracer) ApplyOption

Jump to

Keyboard shortcuts

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