requestid

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Header:     core.HeaderXRequestID,
	ContextKey: "requestid",
}

Functions

func New

func New(conf ...Config) core.HandlerFunc

Types

type Config

type Config struct {
	Header     string
	ContextKey string
}

Jump to

Keyboard shortcuts

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