Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for __construct (0.24 sec)

  1. cmd/server_test.go

    	c.Assert(err, nil)
    
    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	// assert the response status code.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// construct request to delete the bucket.
    	request, err = newTestSignedRequest(http.MethodDelete, getDeleteBucketURL(s.endPoint, bucketName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    	for i, testCase := range testCases {
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		rec := httptest.NewRecorder()
    		// construct HTTP request for Get Object end point.
    		req, err := newTestSignedRequestV4(http.MethodHead, getHeadObjectURL("", testCase.bucketName, testCase.objectName),
    			0, nil, testCase.accessKey, testCase.secretKey, nil)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top