package
0.0.12
Repository: https://github.com/m15t/gram.git
Documentation: pkg.go.dev

# Functions

GetContextRequestID takes a context as input and returns a pointer to a string of strings.
New returns a X-Request-ID middleware.
NewWithConfig returns a X-Request-ID middleware with config.
WithContextRequestID takes a context and request id as inputs and returns a new context with a value.

# Constants

RequestIDKey define a constant string for the request ID key.

# Variables

DefaultRequestIDConfig is the default RequestID middleware config.

# Structs

Config defines the config for RequestID middleware.