tracing

package
v2.2.7 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 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) Start

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

type EmptyTracerInstance

type EmptyTracerInstance struct {
}

func (*EmptyTracerInstance) End

func (instance *EmptyTracerInstance) End()

func (*EmptyTracerInstance) SendError added in v2.2.3

func (instance *EmptyTracerInstance) SendError(_ string, _ error, _ bool)

type Tracer

type Tracer interface {
	Start(ctx context.Context, name string, kind string) TracerInstance
}

type TracerInstance

type TracerInstance interface {
	SendError(message string, err error, handle bool)
	End()
}

Jump to

Keyboard shortcuts

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