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

Method HEAD

group.go:42–44  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

40
41// HEAD implements `Echo#HEAD()` for sub-routes within the Group. Panics on error.
42func (g *Group) HEAD(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo {
43 return g.Add(http.MethodHead, path, h, m...)
44}
45
46// OPTIONS implements `Echo#OPTIONS()` for sub-routes within the Group. Panics on error.
47func (g *Group) OPTIONS(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo {

Callers

nothing calls this directly

Calls 1

AddMethod · 0.95

Tested by

no test coverage detected