MCPcopy
hub / github.com/gin-gonic/gin / NoMethod

Function NoMethod

ginS/gins.go:45–47  ·  view source on GitHub ↗

NoMethod is a wrapper for Engine.NoMethod.

(handlers ...gin.HandlerFunc)

Source from the content-addressed store, hash-verified

43
44// NoMethod is a wrapper for Engine.NoMethod.
45func NoMethod(handlers ...gin.HandlerFunc) {
46 engine().NoMethod(handlers...)
47}
48
49// Group creates a new router group. You should add all the routes that have common middlewares or the same path prefix.
50// For example, all the routes that use a common middleware for authorization could be grouped.

Callers 1

TestNoMethodFunction · 0.85

Calls 1

NoMethodMethod · 0.80

Tested by 1

TestNoMethodFunction · 0.68