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

Method Any

group.go:72–74  ·  view source on GitHub ↗

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

(path string, handler HandlerFunc, middleware ...MiddlewareFunc)

Source from the content-addressed store, hash-verified

70
71// Any implements `Echo#Any()` for sub-routes within the Group. Panics on error.
72func (g *Group) Any(path string, handler HandlerFunc, middleware ...MiddlewareFunc) RouteInfo {
73 return g.Add(RouteAny, path, handler, middleware...)
74}
75
76// Match implements `Echo#Match()` for sub-routes within the Group. Panics on error.
77func (g *Group) Match(methods []string, path string, handler HandlerFunc, middleware ...MiddlewareFunc) Routes {

Callers

nothing calls this directly

Calls 1

AddMethod · 0.95

Tested by

no test coverage detected