internal

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CtxRouteTemplateKey is the context key used for a route template.
	CtxRouteTemplateKey = ContextKey("x-opentelemetry-route-template")

	// RenderTemplateSpanName is the span name for the beego.Controller.Render
	// operation.
	RenderTemplateSpanName = "beego.render.template"
	// RenderStringSpanName is the span name for the
	// beego.Controller.RenderString operation.
	RenderStringSpanName = "beego.render.string"
	// RenderStringSpanName is the span name for the
	// beego.Controller.RenderBytes operation.
	RenderBytesSpanName = "beego.render.bytes"

	// TemplateKey is used to describe the beego template used.
	TemplateKey = attribute.Key("go.template")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextKey

type ContextKey string

ContextKey is a key for a value in a context.Context, used as it is not recommended to use basic types as keys.

Jump to

Keyboard shortcuts

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