MCPcopy
hub / github.com/go-chi/chi / Handle

Method Handle

chi.go:88–88  ·  view source on GitHub ↗

Handle and HandleFunc adds routes for `pattern` that matches all HTTP methods.

(pattern string, h http.Handler)

Source from the content-addressed store, hash-verified

86 // Handle and HandleFunc adds routes for `pattern` that matches
87 // all HTTP methods.
88 Handle(pattern string, h http.Handler)
89 HandleFunc(pattern string, h http.HandlerFunc)
90
91 // Method and MethodFunc adds routes for `pattern` that matches

Callers 5

TestMuxEmptyRoutesFunction · 0.95
TestPatternFunction · 0.95
TestPathValueFunction · 0.95
ProfilerFunction · 0.95

Implementers 1

Muxmux.go

Calls

no outgoing calls

Tested by 4

TestMuxEmptyRoutesFunction · 0.76
TestPatternFunction · 0.76
TestPathValueFunction · 0.76