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

Method MethodFunc

chi.go:94–94  ·  view source on GitHub ↗
(method, pattern string, h http.HandlerFunc)

Source from the content-addressed store, hash-verified

92 // the `method` HTTP method.
93 Method(method, pattern string, h http.Handler)
94 MethodFunc(method, pattern string, h http.HandlerFunc)
95
96 // HTTP-method routing along `pattern`
97 Connect(pattern string, h http.HandlerFunc)

Callers 3

TestMuxBasicFunction · 0.95
TestCustomHTTPMethodFunction · 0.95
mainFunction · 0.95

Implementers 1

Muxmux.go

Calls

no outgoing calls

Tested by 2

TestMuxBasicFunction · 0.76
TestCustomHTTPMethodFunction · 0.76