MCPcopy Create free account

hub / github.com/gorilla/handlers / types & classes

Types & classes17 in github.com/gorilla/handlers

FuncTypeCORSOption
CORSOption represents a functional option for configuring the CORS middleware.
cors.go:10
FuncTypeLogFormatter
LogFormatter gives the signature of the formatter function passed to CustomLoggingHandler.
logging.go:31
StructLogFormatterParams
Logging LogFormatterParams is the structure any formatter will be handed when time to log comes.
logging.go:22
TypeAliasMethodHandler
MethodHandler is an http.Handler that dispatches to a handler whose key in the MethodHandler's map matches the name of the HTTP request's method, eg:
handlers.go:26
FuncTypeOriginValidator
OriginValidator takes an origin string and returns whether or not that origin is allowed.
cors.go:26
InterfaceRecoveryHandlerLogger
RecoveryHandlerLogger is an interface used by the recovering handler to print logs.
recovery.go:10
FuncTypeRecoveryOption
RecoveryOption provides a functional approach to define configuration for a handler; such as setting the logging whether or not to print stack traces
recovery.go:23
Structcanonical
canonical.go:9
StructcompressResponseWriter
compress.go:19
Structcors
cors.go:12
Interfaceflusher
compress.go:43
StructfullyFeaturedResponseWriter
compress_test.go:222
StructheaderTable
proxy_headers_test.go:9
StructloggingHandler
loggingHandler is the http.Handler implementation for LoggingHandlerTo and its friends
logging.go:36
StructpaltryResponseWriter
compress_test.go:271
StructrecoveryHandler
recovery.go:14
StructresponseLogger
responseLogger is wrapper of http.ResponseWriter that keeps track of its HTTP status code and body size.
handlers.go:48