mirror of https://github.com/gofiber/fiber.git
|
||
---|---|---|
.. | ||
testdata | ||
README.md | ||
compress.go | ||
compress.md | ||
compress_test.go | ||
favicon.go | ||
favicon.md | ||
favicon_test.go | ||
filesystem.go | ||
filesystem.md | ||
filesystem_test.go | ||
logger.go | ||
logger.md | ||
logger_test.go | ||
pprof.go | ||
recover.go | ||
recover.md | ||
recover_test.go | ||
request_id.go | ||
request_id.md | ||
request_id_test.go | ||
timeout.go | ||
timeout.md | ||
timeout_test.go |
README.md
Fiber Core Middleware
- middleware/compress
Compression middleware for Fiber, it supports
deflate
,gzip
andbrotli
. - middleware/favicon This middleware caches the favicon in memory to improve performance
- middleware/filesystem FileServer middleware to allow embedded http.FileSystem
- middleware/logger HTTP request/response logger for Fiber
- middleware/recover Recover middleware recovers from panics anywhere in the stack chain
- middleware/requestid
Adds an indentifier to the response using the
X-Request-ID
header - middleware/timeout Wrapper function which provides a handler with a timeout.