- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Marshal (0.04 sec)
-
cmd/admin-handlers.go
Host: client.String(), Err: fmt.Sprintf("server is running the latest version: %s", Version), CurrentVersion: Version, }) } // Marshal API response jsonBytes, err := json.Marshal(updateStatus) if err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } writeSuccessResponseJSON(w, jsonBytes) return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 99.7K bytes - Viewed (0) -
cmd/site-replication.go
var prev *lifecycle.Rule for i, r := range rules { if i == 0 { prev = r continue } // Check equality of rules prevRData, err := xml.Marshal(prev) if err != nil { return false } rData, err := xml.Marshal(*r) if err != nil { return false } if !(string(prevRData) == string(rData)) { return false } } return true }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 185.1K bytes - Viewed (0) -
cmd/server_test.go
// Append all objects. delObjReq.Objects = append(delObjReq.Objects, ObjectToDelete{ ObjectV: ObjectV{ ObjectName: objName, }, }) } // Marshal delete request. deleteReqBytes, err := xml.Marshal(delObjReq) c.Assert(err, nil) // Delete list of objects. request, err = newTestSignedRequest(http.MethodPost, getMultiDeleteObjectURL(s.endPoint, bucketName),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0) -
cmd/object-handlers_test.go
}) } var completeBytes []byte // Complete multipart upload parts. completeUploads := &CompleteMultipartUpload{ Parts: parts, } completeBytes, err = xml.Marshal(completeUploads) if err != nil { t.Fatalf("Error XML encoding of parts: <ERROR> %s.", err) } // Indicating that all parts are uploaded and initiating CompleteMultipartUpload.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 20:10:44 UTC 2024 - 163.2K bytes - Viewed (0)