Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Leider (0.44 sec)

  1. internal/config/browser/browser.go

    const (
    	// browserCSPPolicy setting name for Content-Security-Policy response header value
    	browserCSPPolicy = "csp_policy"
    	// browserHSTSSeconds setting name for Strict-Transport-Security response header, amount of seconds for 'max-age'
    	browserHSTSSeconds = "hsts_seconds"
    	// browserHSTSIncludeSubdomains setting name for Strict-Transport-Security response header 'includeSubDomains' flag (true or false)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. cmd/httprange_test.go

    		if err != nil && !testCase.errExpected || err == nil && testCase.errExpected {
    			t.Errorf("expected error with invalid range: %v", err)
    		}
    		if h != testCase.spec {
    			t.Errorf("Case %d: translated to incorrect header: %s expected: %s",
    				i, h, testCase.spec)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. docs/metrics/prometheus/README.md

    ```
    
    Here `prometheus.yml` is the name of configuration file. You can now see MinIO metrics in Prometheus dashboard. By default Prometheus dashboard is accessible at `http://localhost:9090`.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 12 15:49:30 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. cmd/jwt_test.go

    		req         *http.Request
    		expectedErr error
    	}{
    		// Set valid authorization header.
    		{
    			req: &http.Request{
    				Header: http.Header{
    					"Authorization": []string{token},
    				},
    			},
    			expectedErr: nil,
    		},
    		// No authorization header.
    		{
    			req: &http.Request{
    				Header: http.Header{},
    			},
    			expectedErr: errNoAuthToken,
    		},
    		// Invalid authorization token.
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:14 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  5. docs/debugging/inspect/main.go

    			fmt.Println("Using private key from", *privKeyPath)
    		}
    
    		// Prompt for decryption key if no --key or --private-key are provided
    		if len(privateKey) == 0 {
    			reader := bufio.NewReader(os.Stdin)
    			fmt.Print("Enter Decryption Key: ")
    
    			text, _ := reader.ReadString('\n')
    			// convert CRLF to LF
    			*keyHex = strings.ReplaceAll(text, "\n", "")
    			*keyHex = strings.TrimSpace(*keyHex)
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  6. cmd/warm-backend.go

    	startOffset int64
    	length      int64
    }
    
    // WarmBackend provides interface to be implemented by remote tier backends
    type WarmBackend interface {
    	Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error)
    	Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (io.ReadCloser, error)
    	Remove(ctx context.Context, object string, rv remoteVersionID) error
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. internal/logger/logrotate.go

    	if w.f != nil {
    		if err := w.closeCurrentFile(); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    var stdErrEnc = json.NewEncoder(os.Stderr)
    
    func (w *Writer) listen() {
    	for {
    		var r io.Reader = w.pr
    		if w.opts.MaximumFileSize > 0 {
    			r = io.LimitReader(w.pr, w.opts.MaximumFileSize)
    		}
    		if _, err := io.Copy(w.f, r); err != nil {
    			msg := fmt.Sprintf("unable to write to log file %v: %v", w.f.Name(), err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. cmd/metrics-v3-handler.go

    		contentType := r.Header.Get("Content-Type")
    		if contentType == "application/json" {
    			w.Header().Set("Content-Type", "application/json")
    			jsonEncoder := json.NewEncoder(w)
    			jsonEncoder.Encode(metrics)
    			return
    		}
    
    		// If not JSON, return plain text. We format it as a markdown table for
    		// readability.
    		w.Header().Set("Content-Type", "text/plain")
    		var b strings.Builder
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  9. docs/debugging/inspect/decrypt-v1.go

    package main
    
    import (
    	"encoding/binary"
    	"encoding/hex"
    	"fmt"
    	"hash/crc32"
    	"io"
    
    	"github.com/secure-io/sio-go"
    )
    
    func extractInspectV1(keyHex string, r io.Reader, w io.Writer, okMsg string) error {
    	id, err := hex.DecodeString(keyHex[:8])
    	if err != nil {
    		return err
    	}
    	key, err := hex.DecodeString(keyHex[8:])
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. cmd/warm-backend-minio.go

    	// Part size.
    	partSize = int64(partSizeFlt)
    	if partSize == 0 {
    		return minPartSize, nil
    	}
    	return partSize, nil
    }
    
    func (m *warmBackendMinIO) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) {
    	partSize, err := optimalPartSize(length)
    	if err != nil {
    		return remoteVersionID(""), err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top