GET is a shortcut for router.Handle(http.MethodGet, path, handle)
(path string, handle Handle)
| 200 | |
| 201 | // GET is a shortcut for router.Handle(http.MethodGet, path, handle) |
| 202 | func (r *Router) GET(path string, handle Handle) { |
| 203 | r.Handle(http.MethodGet, path, handle) |
| 204 | } |
| 205 | |
| 206 | // HEAD is a shortcut for router.Handle(http.MethodHead, path, handle) |
| 207 | func (r *Router) HEAD(path string, handle Handle) { |