Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for JoinHostPort (0.17 sec)

  1. cmd/test-utils_test.go

    		for _, endpoint := range endpoints.Endpoints {
    			if endpoint.IsLocal && endpoint.Type() == URLEndpointType {
    				return endpoint.Host
    			}
    		}
    	}
    
    	return net.JoinHostPort(globalMinioHost, globalMinioPort)
    }
    
    // fetches a random number between range min-max.
    func getRandomRange(min, max int, seed int64) int {
    	// special value -1 means no explicit seeding.
    	if seed != -1 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top