MCPcopy Index your code
hub / github.com/labstack/echo / POST

Method POST

group.go:57–59  ·  view source on GitHub ↗

POST implements `Echo#POST()` for sub-routes within the Group. Panics on error.

(path string, h HandlerFunc, m ...MiddlewareFunc)

Source from the content-addressed store, hash-verified

55
56// POST implements `Echo#POST()` for sub-routes within the Group. Panics on error.
57func (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.
62func (g *Group) PUT(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo {

Callers

nothing calls this directly

Calls 1

AddMethod · 0.95

Tested by

no test coverage detected