tracing

package
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmptyTracer

type EmptyTracer struct {
}

func (*EmptyTracer) SendError

func (tracer *EmptyTracer) SendError(_ string, _ error, _ bool)

func (*EmptyTracer) Start

func (tracer *EmptyTracer) Start(_ context.Context, _ string, _ string) TracerInstance

type EmptyTracerInstance

type EmptyTracerInstance struct {
}

func (*EmptyTracerInstance) End

func (instance *EmptyTracerInstance) End()

type Tracer

type Tracer interface {
	Start(ctx context.Context, name string, kind string) TracerInstance
	SendError(message string, err error, handle bool)
}

type TracerInstance

type TracerInstance interface {
	End()
}

Jump to

Keyboard shortcuts

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