Documentation
¶
Index ¶
Constants ¶
View Source
const Header = "x-correlation-id"
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
func Middleware ¶
func Middleware(idGenerator IDGenerator) func(next http.Handler) http.Handler
Types ¶
type IDGenerator ¶
type IDGenerator func() string
Click to show internal directories.
Click to hide internal directories.