- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for newApp (0.06 sec)
-
cmd/main.go
COMMANDS: {{range .VisibleCommands}}{{join .Names ", "}}{{ "\t" }}{{.Usage}} {{end}}{{if .VisibleFlags}} FLAGS: {{range .VisibleFlags}}{{.}} {{end}}{{end}} VERSION: {{.Version}} ` func newApp(name string) *cli.App { // Collection of minio commands currently supported are. commands := []cli.Command{} // Collection of minio commands currently supported in a trie tree. commandsTree := trie.NewTrie()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Jul 30 22:59:48 UTC 2024 - 6.5K bytes - Viewed (0) -
docs/debugging/healing-bin/main.go
import ( "archive/zip" "bytes" "encoding/json" "fmt" "io" "log" "os" "strings" "github.com/minio/cli" "github.com/tinylib/msgp/msgp" ) func main() { app := cli.NewApp() app.Copyright = "MinIO, Inc." app.Usage = "healing.bin to JSON" app.HideVersion = true app.HideHelpCommand = true app.CustomAppHelpTemplate = `NAME: {{.Name}} - {{.Usage}} USAGE:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.1K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt
*/ @SuppressLint("NewApi") @SuppressSignatureCheck class Android10SocketAdapter : SocketAdapter { override fun matchesSocket(sslSocket: SSLSocket): Boolean = SSLSockets.isSupportedSocket(sslSocket) override fun isSupported(): Boolean = Companion.isSupported() @SuppressLint("NewApi") override fun getSelectedProtocol(sslSocket: SSLSocket): String? = try {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt
} else { // Unable to report via CloseGuard. As a last-ditch effort, send it to the logger. super.logCloseableLeak(message, stackTrace) } } @SuppressLint("NewApi") override fun isCleartextTrafficPermitted(hostname: String): Boolean = NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted(hostname)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Jul 20 11:25:50 UTC 2025 - 4.5K bytes - Viewed (0) -
docs/de/docs/advanced/middleware.md
In der Dokumentation fΓΌr ASGI-Middlewares von Drittanbietern wird Ihnen wahrscheinlich gesagt, etwa Folgendes zu tun: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/em/docs/advanced/middleware.md
π οΈ π« βοΈ β FastAPI βοΈ π π·, π β«οΈ β© π« π. π’, π« π οΈ π π β π¨ π« π± π₯ β. , π§Ύ π₯-π₯³ π« π οΈ π« π π² π¬ π π³ π: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ``` βοΈ FastAPI (π€ π) π π π β«οΈ π β π π π π οΈ π΅ π½ β & π β πβπ¦Ί π· β. π, π βοΈ `app.add_middleware()` (πΌ β). ```Python from fastapi import FastAPI
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.1K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
So, in the documentation for third-party ASGI middlewares they will probably tell you to do something like: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ``` But FastAPI (actually Starlette) provides a simpler way to do it that makes sure that the internal middlewares handle server errors and custom exception handlers work properly.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:59:07 UTC 2025 - 4.3K bytes - Viewed (0) -
docs/pt/docs/advanced/middleware.md
EntΓ£o, na documentaΓ§Γ£o de middlewares ASGI de terceiros, eles provavelmente dirΓ£o para vocΓͺ fazer algo como: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Wed Oct 30 20:00:22 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/es/docs/advanced/middleware.md
Entonces, en la documentaciΓ³n de middlewares ASGI de terceros probablemente te indicarΓ‘n que hagas algo como: ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4.3K bytes - Viewed (0) -
docs/ko/docs/advanced/middlewares.md
μΌλ°μ μΌλ‘ ASGI λ―Έλ€μ¨μ΄λ 첫 λ²μ§Έ μΈμλ‘ ASGI μ±μ λ°λ ν΄λμ€λ€μ λλ€. λ°λΌμ νμ¬ ASGI λ―Έλ€μ¨μ΄ λ¬Έμμμ μΌλ°μ μΌλ‘ λ€μκ³Ό κ°μ΄ μ¬μ©νλλ‘ μλ΄ν κ²μ λλ€. ```Python from unicorn import UnicornMiddleware app = SomeASGIApp() new_app = UnicornMiddleware(app, some_config="rainbow") ``` νμ§λ§ λ΄λΆ λ―Έλ€μ¨μ΄κ° μλ² μ€λ₯λ₯Ό μ²λ¦¬νκ³ μ¬μ©μ μ μ μμΈ μ²λ¦¬κΈ°κ° μ λλ‘ μλνλλ‘ νλ λ κ°λ¨ν λ°©λ²μ μ 곡νλ FastAPI(μ€μ λ‘λ Starlette)κ° μμ΅λλ€. μ΄λ₯Ό μν΄ `app.add_middleware()`λ₯Ό μ¬μ©ν©λλ€(CORSμ μμμμ κ°μ΄). ```Python
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Nov 26 22:35:09 UTC 2024 - 4.6K bytes - Viewed (0)