MCPcopy Create free account
hub / github.com/devfeel/dotweb / Router

Method Router

server.go:305–307  ·  view source on GitHub ↗

Router get router interface in server

()

Source from the content-addressed store, hash-verified

303
304// Router get router interface in server
305func (server *HttpServer) Router() Router {
306 return server.router
307}
308
309// GET is a shortcut for router.Handle("GET", path, handle)
310func (server *HttpServer) GET(path string, handle HttpHandle) RouterNode {

Callers 15

ServeHTTPMethod · 0.95
GETMethod · 0.95
AnyMethod · 0.95
HEADMethod · 0.95
OPTIONSMethod · 0.95
POSTMethod · 0.95
PUTMethod · 0.95
PATCHMethod · 0.95
DELETEMethod · 0.95
ServerFileMethod · 0.95
RegisterHandlerFuncMethod · 0.95
RegisterRouteMethod · 0.95

Calls

no outgoing calls

Tested by 1