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

Function getViewsLock

app.go:170–172  ·  view source on GitHub ↗
(views Views)

Source from the content-addressed store, hash-verified

168}
169
170func getViewsLock(views Views) *sync.RWMutex {
171 return globalViewsLocks.get(views)
172}
173
174// Config is a struct holding the server settings.
175type Config struct { //nolint:govet // Aligning the struct fields is not necessary. betteralign:ignore

Callers 2

ReloadViewsMethod · 0.85
RenderMethod · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected