Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ReadFileHandler (0.09 sec)

  1. cmd/storage-rest-server.go

    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	presp := &ReadPartsResp{Infos: infos}
    	storageLogIf(r.Context(), msgp.Encode(w, presp))
    }
    
    // ReadFileHandler - read section of a file.
    func (s *storageRESTServer) ReadFileHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		return
    	}
    	volume := r.Form.Get(storageRESTVolume)
    	filePath := r.Form.Get(storageRESTFilePath)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
Back to top