MCPcopy
hub / github.com/labstack/echo / TRACE

Method TRACE

echo.go:544–546  ·  view source on GitHub ↗

TRACE registers a new TRACE 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

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.
544func (e *Echo) TRACE(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo {
545 return e.Add(http.MethodTrace, path, h, m...)
546}
547
548// RouteNotFound registers a special-case route which is executed when no other route is found (i.e. HTTP 404 cases)
549// for current request URL.

Callers 2

TestGroup_TRACEFunction · 0.45
TestEchoTraceFunction · 0.45

Calls 1

AddMethod · 0.95

Tested by 2

TestGroup_TRACEFunction · 0.36
TestEchoTraceFunction · 0.36