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

Method SharedState

app.go:1332–1334  ·  view source on GitHub ↗

SharedState returns storage-backed shared state. SharedState is prefork-safe when Config.SharedStorage is configured.

()

Source from the content-addressed store, hash-verified

1330// SharedState returns storage-backed shared state.
1331// SharedState is prefork-safe when Config.SharedStorage is configured.
1332func (app *App) SharedState() *SharedState {
1333 return app.sharedState
1334}
1335
1336var ErrTestGotEmptyResponse = errors.New("test: got empty response")
1337

Calls

no outgoing calls