Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Run = func(app *fiber.App) { app.Get("/verify", func(c *fiber.Ctx) error { return c.SendStatus(200) }) auth.DefaultHandler.Route( app.Group("/auth"), ) api := app.Group("/api") { v1 := api.Group("/v1") { users.DefaultHandler.Route( v1.Group("/users"), ) posts.DefaultHandler.Route( v1.Group("/posts"), ) chat := v1.Group("/chats") { chats.DefaultHandler.Route( chat, ) } } } } )
Run function initializes the application routes and middleware.
Note that this method use only default handlers.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.