MCPcopy Create free account
hub / github.com/devfeel/dotweb / GET

Method GET

group.go:86–88  ·  view source on GitHub ↗

GET implements `Router#GET()` for sub-routes within the Group.

(path string, h HttpHandle)

Source from the content-addressed store, hash-verified

84
85// GET implements `Router#GET()` for sub-routes within the Group.
86func (g *xGroup) GET(path string, h HttpHandle) RouterNode {
87 return g.add(RouteMethod_GET, path, h)
88}
89
90// HEAD implements `Router#HEAD()` for sub-routes within the Group.
91func (g *xGroup) HEAD(path string, h HttpHandle) RouterNode {

Callers

nothing calls this directly

Calls 1

addMethod · 0.95

Tested by

no test coverage detected