Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d7b95c + 17a9775 commit f55e376Copy full SHA for f55e376
chi.go
@@ -77,6 +77,10 @@ type Router interface {
77
// NotFound defines a handler to respond whenever a route could
78
// not be found.
79
NotFound(h http.HandlerFunc)
80
+
81
+ // MethodNotAllowed defines a handler to respond whenever a method is
82
+ // not allowed.
83
+ MethodNotAllowed(h http.HandlerFunc)
84
}
85
86
// Routes interface adds two methods for router traversal, which is also
0 commit comments