MCPcopy Create free account
hub / github.com/goadesign/goa / Handle

Method Handle

http/mux.go:43–43  ·  view source on GitHub ↗

Handle registers the handler function for the given method and pattern.

(method, pattern string, handler http.HandlerFunc)

Source from the content-addressed store, hash-verified

41 // Handle registers the handler function for the given method
42 // and pattern.
43 Handle(method, pattern string, handler http.HandlerFunc)
44
45 // ServeHTTP dispatches the request to the handler whose method
46 // matches the request method and whose pattern most closely

Callers 6

TestMiddlewaresFunction · 0.95
TestVarsFunction · 0.95
TestRequestPatternFunction · 0.95
TestResolvePatternFunction · 0.95
TestSmartRedirectSlashesFunction · 0.95

Implementers 1

muxhttp/mux.go

Calls

no outgoing calls

Tested by 6

TestMiddlewaresFunction · 0.76
TestVarsFunction · 0.76
TestRequestPatternFunction · 0.76
TestResolvePatternFunction · 0.76
TestSmartRedirectSlashesFunction · 0.76