- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for 322 (0.11 sec)
-
internal/mountinfo/mountinfo_linux_test.go
// and success cases. func TestCrossDeviceMountPaths(t *testing.T) { successCase := `/dev/0 /path/to/0/1 type0 flags 0 0 /dev/1 /path/to/1 type1 flags 1 1 /dev/2 /path/to/1/2 type2 flags,1,2=3 2 2 /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3 ` var err error dir := t.TempDir() mountsPath := filepath.Join(dir, "mounts") if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 7.3K bytes - Viewed (0) -
docs/zh/docs/advanced/wsgi.md
为此, 您可以使用 `WSGIMiddleware` 来包装你的 WSGI 应用,如:Flask,Django,等等。 ## 使用 `WSGIMiddleware` 您需要导入 `WSGIMiddleware`。 然后使用该中间件包装 WSGI 应用(例如 Flask)。 之后将其挂载到某一个路径下。 ```Python hl_lines="2-3 22" {!../../../docs_src/wsgi/tutorial001.py!} ``` ## 检查 现在,所有定义在 `/v1/` 路径下的请求将会被 Flask 应用处理。 其余的请求则会被 **FastAPI** 处理。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 1.2K bytes - Viewed (0) -
docs/em/docs/advanced/wsgi.md
👈, 👆 💪 ⚙️ `WSGIMiddleware` & ⚙️ ⚫️ 🎁 👆 🇨🇻 🈸, 🖼, 🏺, ✳, ♒️. ## ⚙️ `WSGIMiddleware` 👆 💪 🗄 `WSGIMiddleware`. ⤴️ 🎁 🇨🇻 (✅ 🏺) 📱 ⏮️ 🛠️. & ⤴️ 🗻 👈 🔽 ➡. ```Python hl_lines="2-3 22" {!../../../docs_src/wsgi/tutorial001.py!} ``` ## ✅ ⚫️ 🔜, 🔠 📨 🔽 ➡ `/v1/` 🔜 🍵 🏺 🈸. & 🎂 🔜 🍵 **FastAPI**.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 1.1K bytes - Viewed (0)