Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DefaultRemoteAddr (0.13 sec)

  1. src/net/http/httptest/recorder.go

    	return &ResponseRecorder{
    		HeaderMap: make(http.Header),
    		Body:      new(bytes.Buffer),
    		Code:      200,
    	}
    }
    
    // DefaultRemoteAddr is the default remote address to return in RemoteAddr if
    // an explicit DefaultRemoteAddr isn't set on [ResponseRecorder].
    const DefaultRemoteAddr = "1.2.3.4"
    
    // Header implements [http.ResponseWriter]. It returns the response
    // headers to mutate within a handler. To test the headers that were
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Server).Client", Method, 9},
    		{"(*Server).Close", Method, 0},
    		{"(*Server).CloseClientConnections", Method, 0},
    		{"(*Server).Start", Method, 0},
    		{"(*Server).StartTLS", Method, 0},
    		{"DefaultRemoteAddr", Const, 0},
    		{"NewRecorder", Func, 0},
    		{"NewRequest", Func, 7},
    		{"NewServer", Func, 0},
    		{"NewTLSServer", Func, 0},
    		{"NewUnstartedServer", Func, 0},
    		{"ResponseRecorder", Type, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top