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

Method rebuild405Handlers

gin.go:360–362  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

358}
359
360func (engine *Engine) rebuild405Handlers() {
361 engine.allNoMethod = engine.combineHandlers(engine.noMethod)
362}
363
364func (engine *Engine) addRoute(method, path string, handlers HandlersChain) {
365 assert1(path[0] == '/', "path must begin with '/'")

Callers 2

NoMethodMethod · 0.95
UseMethod · 0.95

Calls 1

combineHandlersMethod · 0.80

Tested by

no test coverage detected