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

Method DELETE

server.go:346–348  ·  view source on GitHub ↗

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

(path string, handle HttpHandle)

Source from the content-addressed store, hash-verified

344
345// DELETE is a shortcut for router.Handle("DELETE", path, handle)
346func (server *HttpServer) DELETE(path string, handle HttpHandle) RouterNode {
347 return server.Router().DELETE(path, handle)
348}
349
350// ServerFile a shortcut for router.ServeFiles(path, fileRoot)
351// simple demo:server.ServerFile("/src/*filepath", "/var/www")

Callers

nothing calls this directly

Calls 2

RouterMethod · 0.95
DELETEMethod · 0.65

Tested by

no test coverage detected