POST is a shortcut for router.Handle(http.MethodPost, path, handle)
(path string, handle Handle)
| 215 | |
| 216 | // POST is a shortcut for router.Handle(http.MethodPost, path, handle) |
| 217 | func (r *Router) POST(path string, handle Handle) { |
| 218 | r.Handle(http.MethodPost, path, handle) |
| 219 | } |
| 220 | |
| 221 | // PUT is a shortcut for router.Handle(http.MethodPut, path, handle) |
| 222 | func (r *Router) PUT(path string, handle Handle) { |