- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Chander (0.2 sec)
-
cmd/server_test.go
timeNow := time.Now().UTC() c.Assert(creationTime.Before(timeNow), true) c.Assert(timeNow.Sub(creationTime) < time.Minute*5, true) } // This tests validate if PUT handler can successfully detect signature mismatch. func (s *TestSuiteCommon) TestValidateSignature(c *check) { // generate a random bucket name. bucketName := getRandomBucketName() // HTTP request to create the bucket.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 108K bytes - Viewed (0) -
internal/http/server_test.go
nonLoopBackIP := getNonLoopBackIP(t) handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello, world") }) testCases := []struct { addrs []string handler http.Handler certFn certs.GetCertificateFunc }{ {[]string{"127.0.0.1:9000"}, handler, nil}, {[]string{nonLoopBackIP + ":9000"}, handler, nil},
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Mar 27 15:10:40 GMT 2024 - 2.7K bytes - Viewed (0)