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

Method POST

group.go:106–108  ·  view source on GitHub ↗

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

(path string, h HttpHandle)

Source from the content-addressed store, hash-verified

104
105// POST implements `Router#POST()` for sub-routes within the Group.
106func (g *xGroup) POST(path string, h HttpHandle) RouterNode {
107 return g.add(RouteMethod_POST, path, h)
108}
109
110// PUT implements `Router#PUT()` for sub-routes within the Group.
111func (g *xGroup) PUT(path string, h HttpHandle) RouterNode {

Callers

nothing calls this directly

Calls 1

addMethod · 0.95

Tested by

no test coverage detected