Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getUpdateReaderFromURL (0.1 sec)

  1. cmd/update.go

    	// For binary only installations, we return link to the latest binary.
    	if runtime.GOOS == "windows" {
    		return MinioReleaseURL + "minio.exe"
    	}
    
    	return MinioReleaseURL + "minio"
    }
    
    func getUpdateReaderFromURL(u *url.URL, transport http.RoundTripper, mode string) (io.ReadCloser, error) {
    	clnt := &http.Client{
    		Transport: transport,
    	}
    	req, err := http.NewRequest(http.MethodGet, u.String(), nil)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top