opentracing_helper

package
v1.1.20 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidTracerDriver = errors.New("invalid tracer driver")
)

Functions

func NewTracer

func NewTracer(name string, args ...interface{}) (opentracing.Tracer, io.Closer, error)

Types

type JaegerTracerFactory

type JaegerTracerFactory struct{}

func (*JaegerTracerFactory) New

func (jtf *JaegerTracerFactory) New(args ...interface{}) (opentracing.Tracer, io.Closer, error)

type TracerFactory

type TracerFactory interface {
	New(args ...interface{}) (opentracing.Tracer, io.Closer, error)
}

type TracerOption

type TracerOption struct {
	*viper.Viper
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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