Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for forwardly (0.21 sec)

  1. cmd/tier-last-day-stats.go

    	UpdatedAt time.Time
    }
    
    func (l *lastDayTierStats) addStats(ts tierStats) {
    	now := time.Now()
    	l.forwardTo(now)
    
    	nowIdx := now.Hour()
    	l.Bins[nowIdx] = l.Bins[nowIdx].add(ts)
    }
    
    // forwardTo moves time to t, clearing entries between last update and t.
    func (l *lastDayTierStats) forwardTo(t time.Time) {
    	if t.IsZero() {
    		t = time.Now()
    	}
    
    	since := t.Sub(l.UpdatedAt).Hours()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. internal/logger/target/kafka/kafka_scram_client_contrib.go

    	return nil
    }
    
    // Step takes a string provided from a server (or just an empty string for the
    // very first conversation step) and attempts to move the authentication
    // conversation forward.  It returns a string to be sent to the server or an
    // error if the server message is invalid.  Calling Step after a conversation
    // completes is also an error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  3. internal/handlers/proxy.go

    )
    
    var (
    	// De-facto standard header keys.
    	xForwardedFor    = http.CanonicalHeaderKey("X-Forwarded-For")
    	xForwardedHost   = http.CanonicalHeaderKey("X-Forwarded-Host")
    	xForwardedPort   = http.CanonicalHeaderKey("X-Forwarded-Port")
    	xForwardedProto  = http.CanonicalHeaderKey("X-Forwarded-Proto")
    	xForwardedScheme = http.CanonicalHeaderKey("X-Forwarded-Scheme")
    	xRealIP          = http.CanonicalHeaderKey("X-Real-IP")
    )
    
    var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  4. internal/handlers/proxy_test.go

    		{xForwardedScheme, "http", "http"},
    		{xForwardedScheme, "HTTP", "http"},
    		{forwarded, `For="[2001:db8:cafe::17]:4711`, ""},                    // No proto
    		{forwarded, `for=192.0.2.43, for=198.51.100.17;proto=https`, ""},    // Multiple params, will be empty.
    		{forwarded, `for=172.32.10.15; proto=https;by=127.0.0.1;`, "https"}, // Space before proto
    		{forwarded, `for=192.0.2.60;proto=http;by=203.0.113.43`, "http"},    // Multiple params
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  5. helm/minio/templates/NOTES.txt

      2. kubectl port-forward $POD_NAME 9000 --namespace {{ .Release.Namespace }}
    
    Read more about port forwarding here: http://kubernetes.io/docs/user-guide/kubectl/kubectl_port-forward/
    
    You can now access MinIO server on http://localhost:9000. Follow the below steps to connect to MinIO server with mc client:
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  6. docs/federation/lookup/Corefile.example

    . {
      etcd churchofminio.com {
          endpoint http://localhost:2379 http://localhost:4001
          upstream /etc/resolv.conf
      }
      debug
      prometheus
      cache 160 mydomain.com
      loadbalance
      forward . /etc/resolv.conf
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 01 16:53:08 GMT 2019
    - 216 bytes
    - Viewed (0)
  7. cmd/data-usage.go

    		}
    	}
    
    	var dataUsageInfo DataUsageInfo
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err = json.Unmarshal(buf, &dataUsageInfo); err != nil {
    		return DataUsageInfo{}, err
    	}
    	// For forward compatibility reasons, we need to add this code.
    	if len(dataUsageInfo.BucketsUsage) == 0 {
    		dataUsageInfo.BucketsUsage = make(map[string]BucketUsageInfo, len(dataUsageInfo.BucketSizes))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. internal/cachevalue/cache.go

    	t.Once.Do(func() {
    		t.ttl = ttl
    		t.updateFn = update
    		t.opts = opts
    	})
    }
    
    // Get will return a cached value or fetch a new one.
    // Tf the Update function returns an error the value is forwarded as is and not cached.
    func (t *Cache[T]) Get() (T, error) {
    	v := t.valErr.Load()
    	ttl := t.ttl
    	vTime := t.lastUpdateMs.Load()
    	tNow := time.Now().UnixMilli()
    	if v != nil && tNow-vTime < ttl.Milliseconds() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. internal/handlers/forwarder.go

    // Forwarder forwards all incoming HTTP requests to configured transport.
    type Forwarder struct {
    	RoundTripper http.RoundTripper
    	PassHost     bool
    	Logger       func(error)
    	ErrorHandler func(http.ResponseWriter, *http.Request, error)
    
    	// internal variables
    	rewriter *headerRewriter
    }
    
    // NewForwarder creates an instance of Forwarder based on the provided list of configuration options
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 07 05:42:10 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  10. .github/workflows/mint/nginx.conf

            location / {
                proxy_set_header Host $http_host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
    
                proxy_connect_timeout 300;
                # Default is HTTP/1, keepalive is only enabled in HTTP/1.1
                proxy_http_version 1.1;
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 31 21:38:10 GMT 2023
    - 3K bytes
    - Viewed (0)
Back to top