RegisterHandlerFunc a shortcut for router.RegisterHandlerFunc(routeMethod string, path string, handler http.HandlerFunc)
(routeMethod string, path string, handler http.HandlerFunc)
| 355 | |
| 356 | // RegisterHandlerFunc a shortcut for router.RegisterHandlerFunc(routeMethod string, path string, handler http.HandlerFunc) |
| 357 | func (server *HttpServer) RegisterHandlerFunc(routeMethod string, path string, handler http.HandlerFunc) RouterNode { |
| 358 | return server.Router().RegisterHandlerFunc(routeMethod, path, handler) |
| 359 | } |
| 360 | |
| 361 | // RegisterRoute a shortcut for router.RegisterRoute(routeMethod string, path string,handle HttpHandle) |
| 362 | func (server *HttpServer) RegisterRoute(routeMethod string, path string, handle HttpHandle) RouterNode { |
nothing calls this directly
no test coverage detected