IsValidIP parses input string for ip address validity.
(ip string)
| 62 | |
| 63 | // IsValidIP parses input string for ip address validity. |
| 64 | func IsValidIP(ip string) bool { |
| 65 | return net.ParseIP(ip) != nil |
| 66 | } |
| 67 | |
| 68 | // IsVirtualHostSupported - verifies if bucketName can be part of |
| 69 | // virtual host. Currently only Amazon S3 and Google Cloud Storage |
no outgoing calls