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

Method PATCH

group.go:101–103  ·  view source on GitHub ↗

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

(path string, h HttpHandle)

Source from the content-addressed store, hash-verified

99
100// PATCH implements `Router#PATCH()` for sub-routes within the Group.
101func (g *xGroup) PATCH(path string, h HttpHandle) RouterNode {
102 return g.add(RouteMethod_PATCH, path, h)
103}
104
105// POST implements `Router#POST()` for sub-routes within the Group.
106func (g *xGroup) POST(path string, h HttpHandle) RouterNode {

Callers

nothing calls this directly

Calls 1

addMethod · 0.95

Tested by

no test coverage detected