JSONrpc: implement removeObject RPC call

This commit is contained in:
Krishna Srinivas committed 2016-02-05 19:46:36 +05:30
1 parent 3a55d05eff
commit 3a8fff46f9
2 files changed
+21

No files matched your search

+7
View File
@@ -52,6 +52,13 @@ type GetObjectURLArgs struct {
ObjectName string `json:"objectName"`
}
// RemoveObjectArgs - args to remove an object
type RemoveObjectArgs struct {
TargetHost string `json:"targetHost"`
BucketName string `json:"bucketName"`
ObjectName string `json:"objectName"`
}
// BucketInfo container for list buckets metadata.
type BucketInfo struct {
// The name of the bucket.