DELETE registers a new DELETE route for a path with matching handler in the router with optional route-level middleware. Panics on error.
(path string, h HandlerFunc, m ...MiddlewareFunc)
| 500 | // DELETE registers a new DELETE route for a path with matching handler in the router |
| 501 | // with optional route-level middleware. Panics on error. |
| 502 | func (e *Echo) DELETE(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo { |
| 503 | return e.Add(http.MethodDelete, path, h, m...) |
| 504 | } |
| 505 | |
| 506 | // GET registers a new GET route for a path with matching handler in the router |
| 507 | // with optional route-level middleware. Panics on error. |