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

Method DELETE

echo.go:502–504  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.
502func (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.

Callers 2

TestGroup_DELETEFunction · 0.45
TestEchoDeleteFunction · 0.45

Calls 1

AddMethod · 0.95

Tested by 2

TestGroup_DELETEFunction · 0.36
TestEchoDeleteFunction · 0.36