1
0
mirror of https://github.com/minio/mc.git synced 2025-11-14 23:42:27 +03:00

Now clients only take URLs - fixes #425

- Interface change, takes only minimal arguments
 - Passing URLs all the way down
 - Bucket and Object awareness only at per client level
This commit is contained in:
Harshavardhana
2015-04-18 19:23:08 -07:00
parent 8a0958776e
commit 8bc587b8cf
22 changed files with 461 additions and 549 deletions

View File

@@ -94,18 +94,3 @@ type errInvalidAuthKeys struct{}
func (e errInvalidAuthKeys) Error() string {
return "invalid authorization keys"
}
// errInvalidBucketName - invalid bucket name
type errInvalidBucketName struct {
bucket string
}
func (e errInvalidBucketName) Error() string {
return "invalid bucket name: " + e.bucket
}
type errBucketNameEmpty struct{}
func (e errBucketNameEmpty) Error() string {
return "bucket name empty"
}