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

Method PATCH

server.go:341–343  ·  view source on GitHub ↗

PATCH is a shortcut for router.Handle("PATCH", path, handle)

(path string, handle HttpHandle)

Source from the content-addressed store, hash-verified

339
340// PATCH is a shortcut for router.Handle("PATCH", path, handle)
341func (server *HttpServer) PATCH(path string, handle HttpHandle) RouterNode {
342 return server.Router().PATCH(path, handle)
343}
344
345// DELETE is a shortcut for router.Handle("DELETE", path, handle)
346func (server *HttpServer) DELETE(path string, handle HttpHandle) RouterNode {

Callers

nothing calls this directly

Calls 2

RouterMethod · 0.95
PATCHMethod · 0.65

Tested by

no test coverage detected