interfaces

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Jaeger

type Jaeger interface {
	InitTracer() (opentracing.Tracer, io.Closer)
}

type JaegerConfig

type JaegerConfig struct {
	Enable  bool
	Url     string
	Host    string
	Port    string
	LogSpan bool
}

type Tracing

type Tracing interface {
	LoadJaeger(name string, config JaegerConfig) Jaeger
}

type TracingName

type TracingName string
const (
	Error    TracingName = "Error"
	Response TracingName = "Response"
	Request  TracingName = "Request"
)

Jump to

Keyboard shortcuts

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