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.
Click to show internal directories.
Click to hide internal directories.