Del registers a new DELETE route.
(path string, h http.HandlerFunc)
| 96 | |
| 97 | // Del registers a new DELETE route. |
| 98 | func (r *Router) Del(path string, h http.HandlerFunc) { |
| 99 | r.rtr.DELETE(r.prefix+path, r.handle(path, h)) |
| 100 | } |
| 101 | |
| 102 | // Put registers a new PUT route. |
| 103 | func (r *Router) Put(path string, h http.HandlerFunc) { |