Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrincipalExtractionHandler ¶
func PrincipalExtractionHandler(principalExtractor auth.PrincipalExtractor, logger zerolog.Logger) func(next http.Handler) http.Handler
PrincipalExtractionHandler returns middleware that extracts principal context, enriches request logs with principal fields, and stores the principal in request context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.