- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 114 for Serve (0.05 sec)
-
internal/http/server.go
srv.listener = listener srv.listenerMutex.Unlock() var l net.Listener = listener if tlsConfig != nil { l = tls.NewListener(listener, tlsConfig) } serve = func() error { return srv.Server.Serve(l) } return } // Shutdown - shuts down HTTP server. func (srv *Server) Shutdown() error { srv.listenerMutex.Lock() if srv.listener == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 18:42:47 UTC 2024 - 6.1K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
But it's possible to customize it, you can set a specific CDN, or serve the files yourself. ## Custom CDN for JavaScript and CSS
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:42:34 UTC 2024 - 7.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* acquire(3) arrives. We serve this request out of storedPermits, and reduce that to 7.0 (how * this is translated to throttling time is discussed later). Immediately after, assume that an * acquire(10) request arriving. We serve the request partly from storedPermits, using all the * remaining 7.0 permits, and the remaining 3.0, we serve them by fresh permits produced by the * rate limiter. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 19.3K bytes - Viewed (0) -
docs/en/docs/contributing.md
Then you can serve that with the command `serve`: <div class="termy"> ```console // Use the command "serve" after running "build-all" $ python ./scripts/docs.py serve Warning: this is a very simple server. For development, use mkdocs serve instead. This is here only to preview a site with translations already built.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Aug 25 02:44:06 UTC 2024 - 12.7K bytes - Viewed (0) -
docs/de/docs/contributing.md
Dieses können Sie dann mit dem Befehl `serve` bereitstellen: <div class="termy"> ```console // Verwenden Sie das Kommando „serve“ nachdem Sie „build-all“ ausgeführt haben. $ python ./scripts/docs.py serve Warning: this is a very simple server. For development, use mkdocs serve instead. This is here only to preview a site with translations already built.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 16.1K bytes - Viewed (0) -
scripts/docs.py
""" update_config() @app.command() def serve() -> None: """ A quick server to preview a built site with translations. For development, prefer the command live (or just mkdocs serve). This is here only to preview a site with translations already built. Make sure you run the build-all command first. """
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 08 11:01:17 UTC 2024 - 13.5K bytes - Viewed (0) -
docs/en/docs/reference/staticfiles.md
# Static Files - `StaticFiles` You can use the `StaticFiles` class to serve static files, like JavaScript, CSS, images, etc. Read more about it in the [FastAPI docs for Static Files](https://fastapi.tiangolo.com/tutorial/static-files/). You can import it directly from `fastapi.staticfiles`: ```python from fastapi.staticfiles import StaticFiles ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 391 bytes - Viewed (0) -
docs/em/docs/contributing.md
⤴️ ⚫️ 🏗 🌐 👈 🔬 ⬜ 🕸 🔠 🇪🇸, 🌀 👫, & 🏗 🏁 🔢 `./site/`. ⤴️ 👆 💪 🍦 👈 ⏮️ 📋 `serve`: <div class="termy"> ```console // Use the command "serve" after running "build-all" $ python ./scripts/docs.py serve Warning: this is a very simple server. For development, use mkdocs serve instead. This is here only to preview a site with translations already built.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 11.4K bytes - Viewed (0) -
docs/zh/docs/contributing.md
``` </div> 这样会对每一种语言构建一个独立的文档站点,并最终把这些站点全部打包输出到 `./site/` 目录。 然后你可以使用命令 `serve` 来运行生成的站点: <div class="termy"> ```console // Use the command "serve" after running "build-all" $ python ./scripts/docs.py serve Warning: this is a very simple server. For development, use mkdocs serve instead. This is here only to preview a site with translations already built.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 12.8K bytes - Viewed (0) -
cni/pkg/monitoring/monitoring.go
log.Errorf("could not set up prometheus exporter: %v", err) return } mux.Handle(path, exporter) monitoringServer := &http.Server{ Handler: mux, } go func() { if err = monitoringServer.Serve(listener); network.IsUnexpectedListenerError(err) { log.Errorf("error running monitoring http server: %s", err) } }() go func() { <-stop err := monitoringServer.Close()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 09 07:54:01 UTC 2023 - 1.5K bytes - Viewed (0)