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

Method NotFound

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

NotFound defines a handler to respond whenever a route could not be found.

(h http.HandlerFunc)

Source from the content-addressed store, hash-verified

107 // NotFound defines a handler to respond whenever a route could
108 // not be found.
109 NotFound(h http.HandlerFunc)
110
111 // MethodNotAllowed defines a handler to respond whenever a method is
112 // not allowed.

Callers 12

TestMuxPlainFunction · 0.95
TestMuxTrailingSlashFunction · 0.95
TestMuxNestedNotFoundFunction · 0.95
TestMuxMissingParamsFunction · 0.95
TestURLFormatFunction · 0.95
TestStripSlashesFunction · 0.95
TestStripSlashesInRouteFunction · 0.95
TestRedirectSlashesFunction · 0.95
NotFoundMethod · 0.65
MountMethod · 0.65

Implementers 1

Muxmux.go

Calls

no outgoing calls

Tested by 10

TestMuxPlainFunction · 0.76
TestMuxTrailingSlashFunction · 0.76
TestMuxNestedNotFoundFunction · 0.76
TestMuxMissingParamsFunction · 0.76
TestURLFormatFunction · 0.76
TestStripSlashesFunction · 0.76
TestStripSlashesInRouteFunction · 0.76
TestRedirectSlashesFunction · 0.76