# Functions
AutomaticOptions automatically return an appropriate "Allow" header when the request method is OPTIONS and the request would have otherwise been 404'd.
EnvInit is a middleware that allocates an environment map if it is nil.
GetReqID returns a request ID from the given context if one is present.
Logger is a middleware that logs the start and end of each request, along with some useful data about what was requested, what the response status was, and how long it took to return.
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.
RealIP is a middleware that sets a http.Request's RemoteAddr to the results of parsing either the X-Forwarded-For header or the X-Real-IP header (in that order).
Recoverer is a middleware that recovers from panics, logs the panic (and a backtrace), and returns a HTTP 500 (Internal Server Error) status if possible.
RequestID is a middleware that injects a request ID into the context of each request.
SubRouter is a helper middleware that makes writing sub-routers easier.
URLQuery is a middleware to parse the URL Query parameters just once, and store the resulting url.Values in the context.
# Constants
Key to use when setting the request ID.
URLQueryKey is the context key for the URL Query.