WHOIS client in GO.
- Print WHOIS response in CLI.
- Check domain exist in go package.
$ go get github.com/monochromegane/go-whois/...
$ go-whois DOMAIN_NAME
import whois
res, err := whois.Query(os.Args[1])
if err != nil {
fmt.Println(err)
}
res.Raw() // get original WHOIS response.
res.Exist() // check domain exist.
- Pasrse more WHOIS attributes.
- Support more WHOIS servers.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request