docs: 为符合 Markdown lint 规范,指定代码块语言。

pull/348/MERGE
layhuts 2026-05-09 12:38:13 +08:00
parent 0be4b51eaa
commit cc6ccaab38
1 changed files with 13 additions and 13 deletions

View File

@ -5,19 +5,19 @@
## 架构设计
```
┌─────────────────────────────────────────────────┐
│ StorageManager │
│ ┌───────────────┐ ┌────────────────────────┐ │
│ │ Prefix 隔离 │ │ TTL 过期管理 │ │
│ └───────────────┘ └────────────────────────┘ │
├─────────────────────────────────────────────────┤
│ IStorageDriver │
├──────────┬──────────────────┬───────────────────┤
│ Local │ IndexedDB │ Memory │
│ Storage │ Driver │ Driver │
│ Driver │ │ │
└──────────┴──────────────────┴───────────────────┘
``` shell
┌───────────────────────────────────────────────┐
│ StorageManager │
│ ┌─────────────┐ ┌───────────────────────┐ │
│ │ Prefix 隔离 │ │ TTL 过期管理 │ │
│ └─────────────┘ └───────────────────────┘ │
├───────────────────────────────────────────────┤
│ IStorageDriver │
├──────────┬─────────────────┬──────────────────┤
│ Local │ IndexedDB │ Memory │
│ Storage │ Driver │ Driver │
│ Driver │ │ │
└──────────┴─────────────────┴──────────────────┘
```
**分层职责:**