Del registers a new DELETE route.
(path string, h http.HandlerFunc)
| 101 | |
| 102 | // Del registers a new DELETE route. |
| 103 | func (r *Router) Del(path string, h http.HandlerFunc) { |
| 104 | r.rtr.DELETE(r.prefix+path, r.handle(path, h)) |
| 105 | } |
| 106 | |
| 107 | // Put registers a new PUT route. |
| 108 | func (r *Router) Put(path string, h http.HandlerFunc) { |