Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtendedRequestID ¶
func ExtendedRequestID(opts ...Option) middleware.MiddlewareFunc
ExtendedRequestID is middleware that extracts the extended request ID from the API Gateway request context and sets it in the Go context.Context. If the extended request ID does not exist, an empty string is set.
func RequestID ¶
func RequestID(opts ...Option) middleware.MiddlewareFunc
RequestID is middleware that extracts the request ID from the API Gateway request context and sets it in the Go context.Context. If the request ID does not exist, an empty string is set.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config is the configuration for the RequestID and ExtendedRequestID middleware.
Click to show internal directories.
Click to hide internal directories.