package
0.3.0
Repository: https://github.com/saurabh0719/jett.git
Documentation: pkg.go.dev

# Functions

BasicAuth middleware - Implements middleware handler.
GetReqID returns a request ID from the given context if one is present.
Heartbeat endpoint middleware useful to setting up a path like `/ping` that load balancers or uptime testing external services can make a request before hitting any routes.
A basic logger for Jett Logs - RequestID (if available from RequestID middleware) - Method and Path - status code of response - Duration of the request-response cycle .
NoCache is a simple piece of middleware that sets a number of HTTP headers to prevent a router (or subrouter) from being cached by an upstream proxy and/or client.
Simple recoverer middleware to recover from panics and print the debug stack.
RequestID is a middleware that injects a request ID into the context of each request.
Timeout is a middleware that cancels context after a given timeout and returns a 504 Gateway Timeout error to the client.

# Variables

No description provided by the author