key

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: MIT Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Email            = "email"
	CompanyKey       = "company_key"
	Latency          = "latency"
	ProcessingTime   = "processing_time"
	Method           = "method"
	URI              = "uri"
	Path             = "path"
	Route            = "route"
	External         = "external"
	Status           = "status"
	UserAgent        = "user_agent"
	APIVersion       = "api_version"
	ExtensionVersion = "extension_version"
	Payload          = "payload"
	User             = "user"
	CorrelationID    = "correlation_id"
	Tool             = "tool"
	ProductFeature   = "product_feature"
	JobDetails       = "job_details"

	DataDogTraceID     = "trace_id"
	DataDogSpanID      = "span_id"
	DataDogVersion     = "version"
	DataDogEnvironment = "env"
	DatadogService     = "service"

	HeaderCorrelationID = "correlation-id"
	HeaderEmail         = "email"
	HeaderCompanyKey    = "company-key"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggerCtxKey added in v2.1.8

type LoggerCtxKey int
const (
	CtxEmail LoggerCtxKey = iota
	CtxCompany
	CtxCorrelationID
	CtxTool
	CtxProductFeature
	CtxAPIVersion
	CtxJobDetails
	CtxService
)

Jump to

Keyboard shortcuts

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