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

Method GET

server.go:310–312  ·  view source on GitHub ↗

GET is a shortcut for router.Handle("GET", path, handle)

(path string, handle HttpHandle)

Source from the content-addressed store, hash-verified

308
309// GET is a shortcut for router.Handle("GET", path, handle)
310func (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

Callers

nothing calls this directly

Calls 2

RouterMethod · 0.95
GETMethod · 0.65

Tested by

no test coverage detected