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

Method PUT

group.go:111–113  ·  view source on GitHub ↗

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

(path string, h HttpHandle)

Source from the content-addressed store, hash-verified

109
110// PUT implements `Router#PUT()` for sub-routes within the Group.
111func (g *xGroup) PUT(path string, h HttpHandle) RouterNode {
112 return g.add(RouteMethod_PUT, path, h)
113}
114
115// PUT implements `Router#PUT()` for sub-routes within the Group.
116func (g *xGroup) ServerFile(path string, fileroot string) RouterNode {

Callers

nothing calls this directly

Calls 1

addMethod · 0.95

Tested by

no test coverage detected