πΊοΈ Ecosystem
Fiber is a family of repositories around one core module. The map below shows what lives where and how the pieces plug into each other; select any block for details and the code that wires it up:
your application
Routerfiber.CtxHTTP ClientHooksadaptor, basicauth, cache, compress, cors, csrf, earlydata, encryptcookie, envvar, etag, expvar, favicon, ...
plugs into the core
inside the core
learn and explore
Fiber coreone importgithub.com/gofiber/fiber
Everything a production web service needs behind one import: the router, the request context, binding and validation, an HTTP client, hooks, and the built-in middleware catalog below.
adaptorbasicauthcachecompresscorscsrfearlydataencryptcookieenvvaretagexpvarfaviconhealthcheckhelmethostauthorizationidempotencykeyauthlimiterloggerpaginatepprofproxyrecoverredirectrequestidresponsetimerewritesessionskipssestatictimeout
One module, no extra dependencies:
go get github.com/gofiber/fiber/v3