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

Method DELETE

group.go:81–83  ·  view source on GitHub ↗

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

(path string, h HttpHandle)

Source from the content-addressed store, hash-verified

79
80// DELETE implements `Router#DELETE()` for sub-routes within the Group.
81func (g *xGroup) DELETE(path string, h HttpHandle) RouterNode {
82 return g.add(RouteMethod_DELETE, path, h)
83}
84
85// GET implements `Router#GET()` for sub-routes within the Group.
86func (g *xGroup) GET(path string, h HttpHandle) RouterNode {

Callers

nothing calls this directly

Calls 1

addMethod · 0.95

Tested by

no test coverage detected