PUT registers a new PUT route for a path with matching handler in the router with optional route-level middleware. Panics on error.
(path string, h HandlerFunc, m ...MiddlewareFunc)
| 536 | // PUT registers a new PUT route for a path with matching handler in the |
| 537 | // router with optional route-level middleware. Panics on error. |
| 538 | func (e *Echo) PUT(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo { |
| 539 | return e.Add(http.MethodPut, path, h, m...) |
| 540 | } |
| 541 | |
| 542 | // TRACE registers a new TRACE route for a path with matching handler in the |
| 543 | // router with optional route-level middleware. Panics on error. |