Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 108 for route2 (0.16 seconds)

  1. cmd/api-router.go

    func registerAPIRouter(router *mux.Router) {
    	// Initialize API.
    	api := objectAPIHandlers{
    		ObjectAPI: newObjectLayerFn,
    	}
    
    	// API Router
    	apiRouter := router.PathPrefix(SlashSeparator).Subrouter()
    
    	var routers []*mux.Router
    	for _, domainName := range globalDomainNames {
    		if IsKubernetes() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  2. cmd/admin-router.go

    type adminAPIHandlers struct{}
    
    // registerAdminRouter - Add handler functions for each service REST API routes.
    func registerAdminRouter(router *mux.Router, enableConfigOps bool) {
    	adminAPI := adminAPIHandlers{}
    	// Admin router
    	adminRouter := router.PathPrefix(adminPathPrefix).Subrouter()
    
    	adminVersions := []string{
    		adminAPIVersionPrefix,
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/bigger-applications.md

    * subpackage `routers`(디렉터리 `app/routers/`)를 찾고...
    * 그 안에서 submodule `items`(파일 `app/routers/items.py`)와 `users`(파일 `app/routers/users.py`)를 import합니다...
    
    `items` 모듈에는 `router` 변수(`items.router`)가 있습니다. 이는 `app/routers/items.py` 파일에서 만든 것과 동일하며 `APIRouter` 객체입니다.
    
    그리고 `users` 모듈도 같은 방식입니다.
    
    다음처럼 import할 수도 있습니다:
    
    ```Python
    from app.routers import items, users
    ```
    
    /// info | 정보
    
    첫 번째 버전은 "상대 import"입니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  4. docs/de/docs/tutorial/bigger-applications.md

    Wir importieren das Submodul `items` direkt, anstatt nur seine Variable `router` zu importieren.
    
    Das liegt daran, dass wir im Submodul `users` auch eine weitere Variable namens `router` haben.
    
    Wenn wir eine nach der anderen importiert hätten, etwa:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 21.9K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/bigger-applications.md

    We are importing the submodule `items` directly, instead of importing just its variable `router`.
    
    This is because we also have another variable named `router` in the submodule `users`.
    
    If we had imported one after the other, like:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

      /** Returns a plan for the first attempt at [route]. This throws if no plan is possible. */
      @Throws(IOException::class)
      internal fun planConnectToRoute(
        route: Route,
        routes: List<Route>? = null,
      ): ConnectPlan {
        if (route.address.sslSocketFactory == null) {
          if (ConnectionSpec.CLEARTEXT !in route.address.connectionSpecs) {
            throw UnknownServiceException("CLEARTEXT communication not enabled for client")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  7. docs/ru/docs/tutorial/bigger-applications.md

    Это потому, что у нас также есть другая переменная с именем `router` в подмодуле `users`.
    
    Если бы мы импортировали их одну за другой, как здесь:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    то `router` из `users` перезаписал бы `router` из `items`, и мы не смогли бы использовать их одновременно.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

              route.address.url.toUri(),
              route.proxy.address(),
              e,
            )
          }
          call.eventListener.connectFailed(call, route.socketAddress, route.proxy, null, e)
          connectionPool.connectionListener.connectFailed(route, call, e)
          return ConnectResult(plan = this, throwable = e)
        } finally {
          call.plansToCancel -= this
          if (!success) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 19.3K bytes
    - Click Count (2)
  9. fastapi/openapi/utils.py

            operation["tags"] = route.tags
        operation["summary"] = generate_operation_summary(route=route, method=method)
        if route.description:
            operation["description"] = route.description
        operation_id = route.operation_id or route.unique_id
        if operation_id in operation_ids:
            endpoint_name = getattr(route.endpoint, "__name__", "<unnamed_endpoint>")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/bigger-applications.md

    ///
    
    ### 避免名稱衝突 { #avoid-name-collisions }
    
    我們直接匯入子模組 `items`,而不是只匯入它的變數 `router`。
    
    這是因為在子模組 `users` 中也有另一個名為 `router` 的變數。
    
    如果我們像下面這樣一個接一個匯入:
    
    ```Python
    from .routers.items import router
    from .routers.users import router
    ```
    
    來自 `users` 的 `router` 會覆蓋掉 `items` 的 `router`,我們就無法同時使用兩者。
    
    因此,為了能在同一個檔案中同時使用它們,我們直接匯入子模組:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
Back to Top