Error Error This contains the error information that thrown by a panic or passed via the Next(err) method. c . Error () error func main () { app := fiber . Ne...
Next Next When Next is called, it executes the next method in the stack that matches the current route. You can pass an error struct within the method that will end the chaini...
Next Next When Next is called, it executes the next method in the stack that matches the current route. You can pass an error struct within the method for custom error handlin...
Redirect Redirect Redirects to the URL derived from the specified path, with specified status, a positive integer that corresponds to an HTTP status code. If not specified, ...
Settings Settings You can pass application settings when calling New . func main () { // Pass Settings creating a new instance app := fiber . New (& fiber . Se...
Download Download Transfers the file from path as an attachment . Typically, browsers will prompt the user to download. By default, the Content-Disposition header filename= ...
Group Handlers Running /api , /v1 or /v2 will result in 404 error, make sure you have the errors set. Group Handlers Group handlers can also be used as a routing path but...