mirror of
https://github.com/gofiber/fiber.git
synced 2025-04-27 13:14:31 +00:00
📒 docs: Update docs for State Management (#3388)
Update docs for State Management
This commit is contained in:
parent
c5c7f86d85
commit
d7e6413aa9
@ -1,8 +1,10 @@
|
|||||||
# State Management
|
---
|
||||||
|
id: state
|
||||||
|
title: 🗂️ State Management
|
||||||
|
sidebar_position: 8
|
||||||
|
---
|
||||||
|
|
||||||
This document details the state management functionality provided by Fiber, a thread-safe global key–value store used to store application dependencies and runtime data. The implementation is based on Go's `sync.Map`, ensuring concurrency safety.
|
The State Management provides a global key–value store for managing application dependencies and runtime data. This store is shared across the entire application and remains consistent between requests. It is implemented using Go’s `sync.Map` to ensure safe concurrent access.
|
||||||
|
|
||||||
Below is the detailed description of all public methods and usage examples.
|
|
||||||
|
|
||||||
## State Type
|
## State Type
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user