GET is a shortcut for router.Handle("GET", path, handle)
(path string, handle HttpHandle)
| 308 | |
| 309 | // GET is a shortcut for router.Handle("GET", path, handle) |
| 310 | func (server *HttpServer) GET(path string, handle HttpHandle) RouterNode { |
| 311 | return server.Router().GET(path, handle) |
| 312 | } |
| 313 | |
| 314 | // ANY is a shortcut for router.Handle("Any", path, handle) |
| 315 | // it support GET\HEAD\POST\PUT\PATCH\OPTIONS\DELETE |