Help us shape the future of Go! Take the 2026 Go Developer Survey

tracer

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: Apache-2.0 Imports: 2 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	Append(col Tracer)
	DoStart(ctx context.Context, c *app.RequestContext) context.Context
	DoFinish(ctx context.Context, c *app.RequestContext, err error)
	HasTracer() bool
}

type Tracer

type Tracer interface {
	Start(ctx context.Context, c *app.RequestContext) context.Context
	Finish(ctx context.Context, c *app.RequestContext)
}

Tracer is executed at the start and finish of an HTTP.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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