Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMiddleware ¶
NewMiddleware returns an http.Handler middleware that logs requests in GCP structured format using slog. With slog.JSONHandler used as the handler, logs will be rendered on the GCP console with rich information about the HTTP request.
Types ¶
Click to show internal directories.
Click to hide internal directories.