All registers a middleware route that will match requests with the provided path which is stored in register struct. app.RouteChain("/").All(func(c fiber.Ctx) error { return c.Next() }) app.RouteChain("/api").All(func(c fiber.Ctx) error { return c.Next() }) app.RouteChain("/api").A
(handler any, handlers ...any)
| 49 | // |
| 50 | // This method will match all HTTP verbs: GET, POST, PUT, HEAD etc... |
| 51 | func (r *Registering) All(handler any, handlers ...any) Register { |
| 52 | converted := collectHandlers("register", append([]any{handler}, handlers...)...) |
| 53 | r.app.register([]string{methodUse}, r.path, r.group, converted...) |
| 54 | return r |
| 55 | } |
| 56 | |
| 57 | // Get registers a route for GET methods that requests a representation |
| 58 | // of the specified resource. Requests using GET should only retrieve data. |
nothing calls this directly
no test coverage detected