MCPcopy
hub / github.com/gofiber/fiber / ensureAutoHeadRoutes

Method ensureAutoHeadRoutes

router.go:746–751  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

744}
745
746func (app *App) ensureAutoHeadRoutes() {
747 app.mutex.Lock()
748 defer app.mutex.Unlock()
749
750 app.ensureAutoHeadRoutesLocked()
751}
752
753func (app *App) ensureAutoHeadRoutesLocked() {
754 if app.config.DisableHeadAutoRegister {

Callers 2

startupProcessMethod · 0.80

Calls 3

LockMethod · 0.65
UnlockMethod · 0.65

Tested by 1