OPTIONS implements `Echo#OPTIONS()` for sub-routes within the Group. Panics on error.
(path string, h HandlerFunc, m ...MiddlewareFunc)
| 45 | |
| 46 | // OPTIONS implements `Echo#OPTIONS()` for sub-routes within the Group. Panics on error. |
| 47 | func (g *Group) OPTIONS(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo { |
| 48 | return g.Add(http.MethodOptions, path, h, m...) |
| 49 | } |
| 50 | |
| 51 | // PATCH implements `Echo#PATCH()` for sub-routes within the Group. Panics on error. |
| 52 | func (g *Group) PATCH(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo { |