πΊοΈ 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, Encrypt Cookie, 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.
AdaptorBasicAuthCacheCompressCORSCSRFEarlyDataEncrypt CookieEnvVarETagExpVarFaviconHealth CheckHelmetHost AuthorizationIdempotencyKeyAuthLimiterLoggerPaginatePprofProxyRecoverRedirectRequestIDResponseTimeRewriteSessionSkipSSEStaticTimeout
One module, no extra dependencies:
go get github.com/gofiber/fiber/v3