1
0
mirror of https://github.com/minio/mc.git synced 2025-11-13 12:22:45 +03:00

better args/url parssing

This commit is contained in:
Anand Babu (AB) Periasamy
2015-03-27 14:19:16 -07:00
parent 0c0fa18234
commit a88f206f4b
7 changed files with 139 additions and 22 deletions

View File

@@ -22,9 +22,15 @@ var (
// fs
errFskey = errors.New("Key is needed to get the file")
// url
errEmptyURL = errors.New("URL is empty")
// url
errInvalidScheme = errors.New("Invalid URL scheme only http{s}:// supported")
// url
errInvalidURL = errors.New("Invalid URL")
// host
errHostname = errors.New("No hostname specified")