DELETE is a shortcut for router.Handle("DELETE", path, handle)
(path string, handle HttpHandle)
| 344 | |
| 345 | // DELETE is a shortcut for router.Handle("DELETE", path, handle) |
| 346 | func (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") |