JSONrpc: implement removeObject RPC call

This commit is contained in:
Krishna Srinivas
2016-02-05 19:46:36 +05:30
parent 3a55d05eff
commit 3a8fff46f9
2 changed files with 21 additions and 0 deletions
+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.