wellknown

package
v0.1.327 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// XCorrelationIDName wellknown name
	XCorrelationIDName = "x-correlation-id"

	// LogCorrelationIDName wellknown name
	LogCorrelationIDName = "correlation_id"

	// XSpanName wellknown name
	XSpanName = "x-span"

	// LogSpanName wellknown name
	LogSpanName = "span"

	// XParentName wellknown name
	XParentName = "x-parent"

	// LogParentName wellknown name
	LogParentName = "parent"

	// XRequestID wellknown name
	XRequestID = "x-request-id"
)

Variables

View Source
var MetaDataFilter = []string{
	":authority",
	"authorization",
	"content-type",
	"user-agent",
	"grpc-accept-encoding",
	"accept-encoding",
	XCorrelationIDName,
	LogCorrelationIDName,
	XSpanName,
	LogSpanName,
	XParentName,
	LogParentName,
	XRequestID,
}

MetaDataFilter list wellknown grpc metadata

View Source
var MetaDataFilterSet = hashset.NewStringSet(MetaDataFilter...)

MetaDataFilterSet ...

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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