POST implements `Echo#POST()` for sub-routes within the Group. Panics on error.
(path string, h HandlerFunc, m ...MiddlewareFunc)
| 55 | |
| 56 | // POST implements `Echo#POST()` for sub-routes within the Group. Panics on error. |
| 57 | func (g *Group) POST(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo { |
| 58 | return g.Add(http.MethodPost, path, h, m...) |
| 59 | } |
| 60 | |
| 61 | // PUT implements `Echo#PUT()` for sub-routes within the Group. Panics on error. |
| 62 | func (g *Group) PUT(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo { |