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

Function releaseOldInput

redirect.go:143–150  ·  view source on GitHub ↗
(oldInput map[string]string)

Source from the content-addressed store, hash-verified

141}
142
143func releaseOldInput(oldInput map[string]string) {
144 if len(oldInput) > maxPoolableMapSize {
145 return
146 }
147
148 clear(oldInput)
149 oldInputPool.Put(oldInput)
150}
151
152// Status sets the status code of redirection.
153// If status is not specified, status defaults to 303 See Other.

Callers 1

WithInputMethod · 0.85

Calls 1

PutMethod · 0.65

Tested by

no test coverage detected