package
0.0.0-20241016132557-27e4b69fade9
Repository: https://github.com/shopify/goose.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
CombineServlets combines all Servlets into one, without other modifications.
EnvVarHeaderMiddleware will expose environment variables as HTTP response headers.
FuncServlet creates a Servlet from a function.
HandlerServlet creates a Servlet from a Handler, which implements ServeHTTP.
No description provided by the author
NewRequestMetricsMiddleware records the time taken to serve a request, and logs request and response data.
No description provided by the author
No description provided by the author
PrefixServlet registers a whole Servlet under a path prefix.
No description provided by the author
RequestContextMiddleware can be used with github.com/gorilla/mux:Router.Use or wrapping a Handler.
SecurityHeaderMiddleware set default security headers.
UseServlet applies a middleware to a whole Servlet.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
RequestMetricsMiddleware is here for backwards compatibility.
# Structs
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
Server wraps an http.Server to make it runnable and stoppable If its tomb dies, the server will be stopped.
Servlet represents a component that can handle HTTP requests It it responsible for registering on the Router.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author