PATCH registers a new PATCH route for a path with matching handler in the router with optional route-level middleware. Panics on error.
(path string, h HandlerFunc, m ...MiddlewareFunc)
| 524 | // PATCH registers a new PATCH route for a path with matching handler in the |
| 525 | // router with optional route-level middleware. Panics on error. |
| 526 | func (e *Echo) PATCH(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo { |
| 527 | return e.Add(http.MethodPatch, path, h, m...) |
| 528 | } |
| 529 | |
| 530 | // POST registers a new POST route for a path with matching handler in the |
| 531 | // router with optional route-level middleware. Panics on error. |